Checkstyle Results

The following document contains the results of Checkstyle 10.5.1-SNAPSHOT with /home/nick/development/contribution/checkstyle-tester/split-check-files/sevntu-check-regression_part_2.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
5911 0 26835 0

Rules

Category Rule Violations Severity

Details

spring-framework/gradle/jdiff/Null.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 7

spring-framework/spring-aop/src/main/java/org/springframework/aop/TrueClassFilter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 27

spring-framework/spring-aop/src/main/java/org/springframework/aop/TrueMethodMatcher.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

spring-framework/spring-aop/src/main/java/org/springframework/aop/TruePointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 27

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MethodInvocation is not a Spring ProxyMethodInvocation: " appears 2 times in the file. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 117
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 124
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 130
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 138
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 140
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 142
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 153
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 287
 Warning extension MultipleStringLiteralsExtended The String "' is neither a valid argument name nor the fully-qualified name of a Java type on the classpath. " appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "Root cause: " appears 2 times in the file. 290
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 321
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 473
 Warning extension MultipleStringLiteralsExtended The String "' was not bound in advice arguments" appears 2 times in the file. 475
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 484
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 516
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 629

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscoverer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension MultipleStringLiteralsExtended The String "!" appears 2 times in the file. 149
 Warning extension ReturnCountExtended Return count for 'getParameterNames' method is 4 (max allowed is 1). 224
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 278
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 286
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 300
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 319
 Warning extension MultipleStringLiteralsExtended The String "Binding of throwing parameter '" appears 2 times in the file. 367
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 417
 Warning extension MultipleStringLiteralsExtended The String " " appears 6 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "(" appears 4 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "Found " appears 5 times in the file. 451
 Warning extension MultipleStringLiteralsExtended The String "Still " appears 2 times in the file. 519
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 523
 Warning extension MultipleStringLiteralsExtended The String "args" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "args(" appears 2 times in the file. 537
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 540
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 574
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 576
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 582
 Warning extension ReturnCountExtended Return count for 'getPointcutBody' method is 3 (max allowed is 1). 632
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 686

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAfterReturningAdvice.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAopUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 42
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 53

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcut.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 150
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 157
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 189
 Warning extension ReturnCountExtended Return count for 'matches' method is 4 (max allowed is 1). 268
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 292
 Warning extension ReturnCountExtended Return count for 'matches' method is 2 (max allowed is 1). 308
 Warning extension MoveVariableInsideIf Variable 'originalShadowMatch' can be moved inside the block at line '343' to restrict runtime creation. 311
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 335
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 370
 Warning extension MoveVariableInsideIf Variable 'fallbackExpression' can be moved inside the block at line '402' to restrict runtime creation. 399
 Warning extension MoveVariableInsideIf Variable 'methodToMatch' can be moved inside the block at line '402' to restrict runtime creation. 400
 Warning extension LogicConditionNeedOptimization Condition with && at line 441 position 41 need optimization. All method calls are advised to move to end of logic expression. 441
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 485
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 547
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 554

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJPointcutAdvisor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 94

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJProxyUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 66

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJWeaverMessageHandler.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'handleMessage' method is 2 (max allowed is 1). 52

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPoint.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "execution(" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 249
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 268

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/RuntimeTestWalker.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 110

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/SimpleAspectInstanceFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 58

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/TypePatternClassFilter.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setTypePattern' is called in constructor body. 57

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 110
 Warning extension MultipleStringLiteralsExtended The String "This is not supported in Spring AOP." appears 2 times in the file. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 241
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 311
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 322

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 101

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectJProxyFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 176

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectMetadata.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 158
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/BeanFactoryAspectJAdvisorsBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension ReturnCountExtended Return count for 'buildAspectJAdvisors' method is 3 (max allowed is 1). 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/InstantiationModelAwarePointcutAdvisorImpl.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 261
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 265

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/LazySingletonAspectInstanceFactoryDecorator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension ReturnCountExtended Return count for 'getAdvice' method is 3 (max allowed is 1). 200

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy/AspectJAwareAdvisorAutoProxyCreator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79

spring-framework/spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy/AspectJPrecedenceComparator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'comparePrecedenceWithinAspect' method is 6 (max allowed is 1). 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 129

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/AbstractInterceptorDrivenBeanDefinitionDecorator.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'targetHolder' can be moved inside the block at line '80' to restrict runtime creation. 68
 Warning extension MultipleStringLiteralsExtended The String "interceptorNames" appears 2 times in the file. 91

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/AdvisorComponentDefinition.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Advisor <advice(ref)='" appears 2 times in the file. 81

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/AopConfigUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/AspectComponentDefinition.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 45

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/AspectEntry.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 48

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/AspectJAutoProxyBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'beanDef' can be moved inside the block at line '50' to restrict runtime creation. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

spring-framework/spring-aop/src/main/java/org/springframework/aop/config/ConfigBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 179
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 202
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 203
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 266
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 271
 Warning extension ReturnCountExtended Return count for 'parsePointcutProperty' method is 3 (max allowed is 1). 469

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension ReturnCountExtended Return count for 'postProcessAfterInitialization' method is 3 (max allowed is 1). 63

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension OverridableMethodInConstructor Overridable method 'setInterfaces' is called in constructor body. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 141
 Warning extension MultipleStringLiteralsExtended The String "Advisor must not be null" appears 4 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "Cannot add advisor: Configuration is frozen." appears 2 times in the file. 339
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 389
 Warning extension MultipleStringLiteralsExtended The String "Advice must not be null" appears 2 times in the file. 405
 Warning extension MultipleStringLiteralsExtended The String "; " appears 2 times in the file. 576
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 606

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/AopContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/AopProxyUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 139

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 103
 Warning extension MultipleStringLiteralsExtended The String "Could not generate CGLIB subclass of class [" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "Common causes of this problem include using a final class or a non-visible class" appears 2 times in the file. 207
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 225
 Warning extension MultipleStringLiteralsExtended The String "Unable to proxy method [" appears 2 times in the file. 264
 Warning extension LogicConditionNeedOptimization Condition with && at line 267 position 96 need optimization. All method calls are advised to move to end of logic expression. 267
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 307
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 369
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 671
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 701
 Warning extension ReturnCountExtended Return count for 'accept' method is 10 (max allowed is 1). 780
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 827
 Warning extension MultipleStringLiteralsExtended The String "Method " appears 3 times in the file. 849
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 921
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 929

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAdvisorChainFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 56
 Warning extension MoveVariableInsideIf Variable 'interceptors' can be moved inside the block at line '67' to restrict runtime creation. 65

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 62
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 153

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/ProxyConfig.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31
 Warning extension MultipleStringLiteralsExtended The String "; " appears 4 times in the file. 166

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/ProxyCreatorSupport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension MultipleStringLiteralsExtended The String "AopProxyFactory must not be null" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "AdvisedSupportListener must not be null" appears 2 times in the file. 83

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/ProxyFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 218
 Warning extension MoveVariableInsideIf Variable 'finalName' can be moved inside the block at line '378' to restrict runtime creation. 377
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 406
 Warning extension MultipleStringLiteralsExtended The String "No BeanFactory available anymore (probably due to serialization) " appears 3 times in the file. 429
 Warning extension LogicConditionNeedOptimization Condition with && at line 434 position 87 need optimization. All method calls are advised to move to end of logic expression. 434
 Warning extension LogicConditionNeedOptimization Condition with && at line 435 position 29 need optimization. All method calls are advised to move to end of logic expression. 435
 Warning extension MultipleStringLiteralsExtended The String "'" appears 7 times in the file. 442
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 483
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 516
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 517
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 578
 Warning extension MultipleStringLiteralsExtended The String "Cannot invoke methods: " appears 2 times in the file. 648

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/ProxyProcessorSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 129

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/ReflectiveMethodInvocation.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 144
 Warning extension ReturnCountExtended Return count for 'proceed' method is 3 (max allowed is 1). 154
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 259

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/AfterReturningAdviceAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/AfterReturningAdviceInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/DefaultAdvisorAdapterRegistry.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension OverridableMethodInConstructor Overridable method 'registerAdvisorAdapter' is called in constructor body. 50
 Warning extension OverridableMethodInConstructor Overridable method 'registerAdvisorAdapter' is called in constructor body. 51
 Warning extension OverridableMethodInConstructor Overridable method 'registerAdvisorAdapter' is called in constructor body. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/MethodBeforeAdviceAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/MethodBeforeAdviceInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/ThrowsAdviceAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/adapter/ThrowsAdviceInterceptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 93
 Warning extension AvoidHidingCauseException Cause exception 'targetEx' was lost. 148

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 136
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 223
 Warning extension ReturnCountExtended Return count for 'postProcessBeforeInstantiation' method is 3 (max allowed is 1). 236
 Warning extension ReturnCountExtended Return count for 'wrapIfNecessary' method is 3 (max allowed is 1). 317
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 460
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 490
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 503
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 504
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 523

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/BeanFactoryAdvisorRetrievalHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findAdvisorBeans' method is 2 (max allowed is 1). 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/BeanNameAutoProxyCreator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getAdvicesAndAdvisorsForBean' method is 2 (max allowed is 1). 76

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/DefaultAdvisorAutoProxyCreator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 98

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/InfrastructureAdvisorAutoProxyCreator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 43

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/ProxyCreationContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

spring-framework/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/target/AbstractBeanFactoryBasedTargetSourceCreator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/AbstractMonitoringInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/AbstractTraceInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 146

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/AsyncExecutionAspectSupport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 136
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 176

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/AsyncExecutionInterceptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/ConcurrencyThrottleInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/CustomizableTraceInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "' of class [" appears 3 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "]" appears 10 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "enterMessage cannot contain placeholder [" appears 3 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "exceptionMessage cannot contain placeholder [" appears 2 times in the file. 231

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeBeanNameAdvisors.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MethodInvocation is not a Spring ProxyMethodInvocation: " appears 3 times in the file. 71

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 84

spring-framework/spring-aop/src/main/java/org/springframework/aop/interceptor/JamonPerformanceMonitorInterceptor.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setTrackAllInvocations' is called in constructor body. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99
 Warning extension MultipleStringLiteralsExtended The String "Exception" appears 2 times in the file. 138

spring-framework/spring-aop/src/main/java/org/springframework/aop/scope/DefaultScopedObject.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

spring-framework/spring-aop/src/main/java/org/springframework/aop/scope/ScopedProxyUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 106

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/AbstractExpressionPointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/AbstractPointcutAdvisor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/AbstractRegexpMethodPointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 132
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 204

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/AopUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 157
 Warning extension ReturnCountExtended Return count for 'canApply' method is 2 (max allowed is 1). 206
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 282
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 322
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 326

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/ClassFilters.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "First ClassFilter must not be null" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Second ClassFilter must not be null" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "ClassFilter array must not be empty" appears 2 times in the file. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/ComposablePointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension MultipleStringLiteralsExtended The String "ClassFilter must not be null" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "MethodMatcher must not be null" appears 2 times in the file. 87

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/ControlFlowPointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/DefaultBeanFactoryPointcutAdvisor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 47

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/DefaultIntroductionAdvisor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 58
 Warning extension MultipleStringLiteralsExtended The String "Advice must not be null" appears 2 times in the file. 68
 Warning extension OverridableMethodInConstructor Overridable method 'addInterface' is called in constructor body. 76
 Warning extension OverridableMethodInConstructor Overridable method 'addInterface' is called in constructor body. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/DefaultPointcutAdvisor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/DelegatePerTargetObjectIntroductionInterceptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 136

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/IntroductionInfoSupport.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/MethodMatchers.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92
 Warning extension MultipleStringLiteralsExtended The String "First MethodMatcher must not be null" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Second MethodMatcher must not be null" appears 2 times in the file. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 154
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 268

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 112

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/Pointcuts.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/RegexpMethodPointcutAdvisor.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setPattern' is called in constructor body. 80
 Warning extension OverridableMethodInConstructor Overridable method 'setPatterns' is called in constructor body. 90

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/RootClassFilter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/StaticMethodMatcherPointcutAdvisor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationClassFilter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78
 Warning extension LogicConditionNeedOptimization Condition with && at line 78 position 61 need optimization. All method calls are advised to move to end of logic expression. 78

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMatchingPointcut.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 75
 Warning extension MultipleStringLiteralsExtended The String "Annotation type must not be null" appears 2 times in the file. 142

spring-framework/spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMethodMatcher.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 57

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/AbstractBeanFactoryBasedTargetSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 172

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/AbstractLazyCreationTargetSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 69

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/AbstractPoolingTargetSource.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 84

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/AbstractPrototypeBasedTargetSource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 67
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 87
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 113
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 119
 Warning extension MultipleStringLiteralsExtended The String "Cannot get target for disconnecting TargetSource [" appears 2 times in the file. 120

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/EmptyTargetSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 138
 Warning extension LogicConditionNeedOptimization Condition with && at line 138 position 76 need optimization. All method calls are advised to move to end of logic expression. 138

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/HotSwappableTargetSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension MultipleStringLiteralsExtended The String "Target object must not be null" appears 2 times in the file. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/SingletonTargetSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/ThreadLocalTargetSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66

spring-framework/spring-aop/src/main/java/org/springframework/aop/target/dynamic/AbstractRefreshableTargetSource.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 84 position 56 need optimization. All method calls are advised to move to end of logic expression. 84

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscovererTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "noArgs" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "execution(* *(..))" appears 3 times in the file. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 86
 Warning extension MultipleStringLiteralsExtended The String "thisJoinPoint" appears 3 times in the file. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 91
 Warning extension MultipleStringLiteralsExtended The String "foo()" appears 8 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Failed to bind all argument names: 1 argument(s) could not be bound" appears 5 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "ex" appears 10 times in the file. 101
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 101
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension MultipleStringLiteralsExtended The String "Not enough arguments in method to satisfy binding of returning and throwing variables" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "oneObject" appears 21 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "obj" appears 6 times in the file. 123
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123
 Warning extension MultipleStringLiteralsExtended The String "twoObjects" appears 2 times in the file. 128
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 140
 Warning extension MultipleStringLiteralsExtended The String "x" appears 14 times in the file. 140
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 145
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 146
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 147
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 148
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 149
 Warning extension MultipleStringLiteralsExtended The String "Found 2 candidate this(), target() or args() variables but only one unbound argument slot" appears 3 times in the file. 155
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 168
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 173
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 174
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 175
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 176
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 177
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 196
 Warning extension MultipleStringLiteralsExtended The String "args(x,y)" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "onePrimitive" appears 5 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "args(count)" appears 2 times in the file. 213
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 213
 Warning extension MultipleStringLiteralsExtended The String "count" appears 4 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "oneObjectOnePrimitive" appears 3 times in the file. 218
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 224
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 229
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 234
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 239
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "Expecting " appears 2 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 286
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 310

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 62
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 63
 Warning extension MultipleStringLiteralsExtended The String "execution(int org.springframework.tests.sample.beans.TestBean.getAge())" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Should not be a runtime match" appears 2 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension MultipleStringLiteralsExtended The String "absquatulate" appears 3 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension MultipleStringLiteralsExtended The String "expression" appears 3 times in the file. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension MultipleStringLiteralsExtended The String "execution(void org.springframework.tests.sample.beans.TestBean.setSomeNumber(Number)) && args(Double)" appears 2 times in the file. 217
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 229
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 231
 Warning extension MultipleStringLiteralsExtended The String "Calls should be 0" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "Calls should be 1" appears 3 times in the file. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutMatchingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someName" appears 19 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "bean(someName/*/someOtherName)" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "service:name=traceService" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "bean(someName) || bean(someOtherName)" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "\" for pcExpression \"" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 81

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPointTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Needs to be bound by interceptor action" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 216

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/TigerAspectJAdviceParameterNameDiscovererTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "oneAnnotation" appears 7 times in the file. 35
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 35
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 50
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 55
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 60
 Warning extension MultipleStringLiteralsExtended The String "@annotation(a) && @this(x)" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "ex" appears 2 times in the file. 77

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/TigerAspectJExpressionPointcutTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 5 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "setFriends" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension MultipleStringLiteralsExtended The String "setEnemies" appears 2 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension MultipleStringLiteralsExtended The String "setPartners" appears 2 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "setPhoneNumbers" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "setName" appears 11 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension MultipleStringLiteralsExtended The String "takesAnnotatedParameters" appears 2 times in the file. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension MultipleStringLiteralsExtended The String "takesNoAnnotatedParameters" appears 3 times in the file. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/TrickyAspectJPointcutExpressionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "TestServiceImpl" appears 7 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "execution(* %s.TestService.*(..))" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "@within(%s.Log)" appears 2 times in the file. 48

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/TypePatternClassFilterTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension MultipleStringLiteralsExtended The String "Must match: in package" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Must be excluded: in wrong package" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Must be excluded: not subclass" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "matches Float" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "matches Double" appears 2 times in the file. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someBean" appears 22 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "Around advice must NOT apply" appears 4 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension MultipleStringLiteralsExtended The String "getSpouse" appears 6 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "Around advice must apply" appears 11 times in the file. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension MultipleStringLiteralsExtended The String "someBean1" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "someBean2" appears 2 times in the file. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 2 times in the file. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension MultipleStringLiteralsExtended The String "Around advice must still apply" appears 2 times in the file. 256
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 404
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 434
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 451
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 454
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 460
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 463
 Warning extension MultipleStringLiteralsExtended The String "One advice method was found" appears 2 times in the file. 480
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 570
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 588
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 675
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 926
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 948

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ArgumentBindingTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 42
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 52

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectJPointcutAdvisorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someBean" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectMetadataTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension MultipleStringLiteralsExtended The String "someBean" appears 4 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectProxyFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 37
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 73
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 80
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 137

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of definitions registered" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Incorrect APC class" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Incorrect definition count" appears 2 times in the file. 86

spring-framework/spring-aop/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJPrecedenceComparatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someAspect" appears 20 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "advisor1 sorted before advisor2" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "advisor2 sorted before advisor1" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "someOtherAspect" appears 12 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "nothing to say about order here" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "advisor1 sorted after advisor2" appears 4 times in the file. 144

spring-framework/spring-aop/src/test/java/org/springframework/aop/config/AopNamespaceHandlerEventTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of events fired" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "No holder with nested components" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "aop:config" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of inner components" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of BeanDefinitions" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "AdvisorComponentDefinition not found" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "No advice bean found" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "countingAdvice" appears 3 times in the file. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190

spring-framework/spring-aop/src/test/java/org/springframework/aop/config/AopNamespaceHandlerPointcutErrorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parsing should have caused a BeanDefinitionStoreException" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57

spring-framework/spring-aop/src/test/java/org/springframework/aop/config/TopLevelAopTagTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

spring-framework/spring-aop/src/test/java/org/springframework/aop/framework/AopProxyUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 128

spring-framework/spring-aop/src/test/java/org/springframework/aop/framework/MethodInvocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 2 times in the file. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68

spring-framework/spring-aop/src/test/java/org/springframework/aop/framework/PrototypeTargetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testInterceptor" appears 2 times in the file. 48

spring-framework/spring-aop/src/test/java/org/springframework/aop/framework/ProxyFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 120
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension MultipleStringLiteralsExtended The String "Proxy is a JDK proxy" appears 2 times in the file. 302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension MultipleStringLiteralsExtended The String "Proxy is a CGLIB proxy" appears 2 times in the file. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 331
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 354

spring-framework/spring-aop/src/test/java/org/springframework/aop/framework/adapter/ThrowsAdviceInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 69
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 88
 Warning extension MultipleStringLiteralsExtended The String "ioException" appears 2 times in the file. 92
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 107
 Warning extension MultipleStringLiteralsExtended The String "remoteException" appears 3 times in the file. 111
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 136

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/ConcurrencyThrottleInterceptorTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(protected)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(protected)'. 43
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 128
 Warning extension MultipleStringLiteralsExtended The String "Expected exception thrown" appears 2 times in the file. 130
 Warning extension IllegalCatchExtended Catching 'Error' is not allowed. 137
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/CustomizableTraceInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 64
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 70
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 3 times in the file. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 130
 Warning extension MultipleStringLiteralsExtended The String "' method of the [" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "] class with the following args (" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String ") and arg types (" appears 2 times in the file. 141

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/ExposeBeanNameAdvisorsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 50

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/ExposeInvocationInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/JamonPerformanceMonitorInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "The jamon report must contain the toString method that was invoked" appears 2 times in the file. 60

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/PerformanceMonitorInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 2 times in the file. 50

spring-framework/spring-aop/src/test/java/org/springframework/aop/interceptor/SimpleTraceInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 2 times in the file. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51

spring-framework/spring-aop/src/test/java/org/springframework/aop/scope/DefaultScopedObjectTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 36
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 41
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51

spring-framework/spring-aop/src/test/java/org/springframework/aop/scope/ScopedProxyAutowireTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "autowired" appears 2 times in the file. 43

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/AbstractRegexpMethodPointcutTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 8 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "wait" appears 4 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Object.*" appears 2 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/AopUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/ClassFiltersTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/ComposablePointcutTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/ControlFlowPointcutTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 7 times in the file. 40
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/DelegatingIntroductionInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension MultipleStringLiteralsExtended The String "Introduced method returning delegate returns proxy" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 2 times in the file. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/MethodMatchersTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension MultipleStringLiteralsExtended The String "Intersection is a dynamic matcher" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "2Matched setAge method" appears 2 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/NameMatchMethodPointcutTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "echo" appears 3 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "setName" appears 3 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "set*" appears 4 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/PointcutsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "getName" appears 2 times in the file. 44
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 47
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 48
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250

spring-framework/spring-aop/src/test/java/org/springframework/aop/support/RegexpMethodPointcutAdvisorIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "nopInterceptor" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "serializableSettersAdvised" appears 2 times in the file. 92

spring-framework/spring-aop/src/test/java/org/springframework/aop/target/CommonsPoolTargetSourceProxyTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47

spring-framework/spring-aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "swappable" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "swapper" appears 2 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135

spring-framework/spring-aop/src/test/java/org/springframework/aop/target/LazyInitTargetSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "proxy" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "target" appears 4 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "target1" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension MultipleStringLiteralsExtended The String "target2" appears 2 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

spring-framework/spring-aop/src/test/java/org/springframework/aop/target/PrototypeBasedTargetSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "ts" appears 2 times in the file. 53

spring-framework/spring-aop/src/test/java/org/springframework/aop/target/ThreadLocalTargetSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "apartment" appears 7 times in the file. 64
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 155

spring-framework/spring-aop/src/test/java/org/springframework/tests/aop/advice/MethodCounter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 30
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64

spring-framework/spring-aop/src/test/java/org/springframework/tests/aop/interceptor/SerializableNopInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

spring-framework/spring-aop/src/test/java/org/springframework/tests/aop/interceptor/TimestampIntroductionInterceptor.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 35

spring-framework/spring-aop/src/test/java/org/springframework/tests/sample/beans/SerializablePerson.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29

spring-framework/spring-aspects/src/test/java/org/springframework/beans/factory/aspectj/ShouldBeConfiguredBySpring.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 25

spring-framework/spring-aspects/src/test/java/org/springframework/cache/config/AnnotatedClassCacheableService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 34
 Warning extension MultipleStringLiteralsExtended The String "exception thrown - evict should still occur" appears 2 times in the file. 70

spring-framework/spring-aspects/src/test/java/org/springframework/cache/config/AnnotatedJCacheableService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected exception (" appears 4 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 196

spring-framework/spring-aspects/src/test/java/org/springframework/cache/config/DefaultCacheableService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "exception thrown - evict should still occur" appears 2 times in the file. 62

spring-framework/spring-aspects/src/test/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControlTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 96
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown an IllegalStateException" appears 3 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Exception message should contain [" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 132
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 149
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 155
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 180
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 185
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 204

spring-framework/spring-aspects/src/test/java/org/springframework/scheduling/aspectj/AnnotationAsyncExecutionAspectTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "e1-" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "failWithVoid" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "Handler should not have been called" appears 2 times in the file. 150
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 169
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 174

spring-framework/spring-aspects/src/test/java/org/springframework/scheduling/aspectj/TestableAsyncUncaughtExceptionHandler.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 72

spring-framework/spring-aspects/src/test/java/org/springframework/transaction/aspectj/TransactionAspectTests.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 52
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 56
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown Exception" appears 3 times in the file. 133
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 135
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 151
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 168
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 184
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 256

spring-framework/spring-beans-groovy/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension MultipleStringLiteralsExtended The String "beans" appears 3 times in the file. 253
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 260
 Warning extension MultipleStringLiteralsExtended The String "Groovy" appears 2 times in the file. 340
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around string "Groovy". 340
 Warning extension ReturnCountExtended Return count for 'invokeMethod' method is 3 (max allowed is 1). 363
 Warning extension LogicConditionNeedOptimization Condition with && at line 365 position 27 need optimization. All method calls are advised to move to end of logic expression. 365
 Warning extension LogicConditionNeedOptimization Condition with && at line 387 position 45 need optimization. All method calls are advised to move to end of logic expression. 387
 Warning extension MoveVariableInsideIf Variable 'beanClass' can be moved inside the block at line '458' to restrict runtime creation. 457
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 457
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 460
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 501
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 526
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 567
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 589
 Warning extension ReturnCountExtended Return count for 'getProperty' method is 4 (max allowed is 1). 646
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 692
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 719

spring-framework/spring-beans-groovy/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionWrapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 102

spring-framework/spring-beans/src/main/java/org/springframework/beans/AbstractPropertyAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88

spring-framework/spring-beans/src/main/java/org/springframework/beans/BeanMetadataAttribute.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87

spring-framework/spring-beans/src/main/java/org/springframework/beans/BeanMetadataAttributeAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

spring-framework/spring-beans/src/main/java/org/springframework/beans/BeanUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Specified class is an interface" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Is it an abstract class?" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Is the constructor accessible?" appears 2 times in the file. 84
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 162
 Warning extension ReturnCountExtended Return count for 'resolveSignature' method is 2 (max allowed is 1). 316
 Warning extension MultipleStringLiteralsExtended The String "Invalid method signature '" appears 2 times in the file. 322
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 342
 Warning extension ReturnCountExtended Return count for 'findEditorByConvention' method is 5 (max allowed is 1). 420
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 432
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 608
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 628

spring-framework/spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setAutoGrowCollectionLimit' is called in constructor body. 200
 Warning extension OverridableMethodInConstructor Overridable method 'setSecurityContext' is called in constructor body. 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 234
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 235
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 248
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 262
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 271
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 297
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 305
 Warning extension MultipleStringLiteralsExtended The String "No property '" appears 2 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "' found" appears 2 times in the file. 344
 Warning extension ReturnCountExtended Return count for 'getPropertyType' method is 3 (max allowed is 1). 364
 Warning extension MultipleStringLiteralsExtended The String "'" appears 12 times in the file. 587
 Warning extension ReturnCountExtended Return count for 'newValue' method is 3 (max allowed is 1). 627
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 642
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 643
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 646
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 647
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 653
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 681
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 693
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 701
 Warning extension AvoidHidingCauseException Cause exception 'pae' was lost. 761
 Warning extension MultipleStringLiteralsExtended The String "Cannot access indexed value of property referenced in indexed " appears 2 times in the file. 775
 Warning extension MultipleStringLiteralsExtended The String "property path '" appears 2 times in the file. 776
 Warning extension MultipleStringLiteralsExtended The String "': returned null" appears 3 times in the file. 776
 Warning extension MultipleStringLiteralsExtended The String ", accessed using property path '" appears 2 times in the file. 806
 Warning extension MoveVariableInsideIf Variable 'elem' can be moved inside the block at line '811' to restrict runtime creation. 810
 Warning extension MultipleStringLiteralsExtended The String "Property referenced in indexed property path '" appears 2 times in the file. 828
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "Invalid index in property path '" appears 2 times in the file. 842
 Warning extension MultipleStringLiteralsExtended The String "' threw exception" appears 2 times in the file. 850
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 852
 Warning extension MultipleStringLiteralsExtended The String "Nested property in path '" appears 2 times in the file. 904
 Warning extension MultipleStringLiteralsExtended The String "' does not exist" appears 2 times in the file. 904
 Warning extension MultipleStringLiteralsExtended The String "Cannot access indexed value in property referenced " appears 2 times in the file. 952
 Warning extension MultipleStringLiteralsExtended The String "in indexed property path '" appears 2 times in the file. 953
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1016
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1134
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1136
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1165
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1179
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1182
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1185

spring-framework/spring-beans/src/main/java/org/springframework/beans/BeansException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63

spring-framework/spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension ReturnCountExtended Return count for 'forClass' method is 2 (max allowed is 1). 179
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 248
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 251
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 254
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 262
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 265
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 330
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 338
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 357

spring-framework/spring-beans/src/main/java/org/springframework/beans/DirectFieldAccessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80
 Warning extension MultipleStringLiteralsExtended The String "Field '" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "' does not exist" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "Field is not accessible" appears 2 times in the file. 254
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 287
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 304

spring-framework/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 154
 Warning extension ReturnCountExtended Return count for 'findExistingPropertyDescriptor' method is 3 (max allowed is 1). 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 333
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 339
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 474

spring-framework/spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 46

spring-framework/spring-beans/src/main/java/org/springframework/beans/GenericTypeAwarePropertyDescriptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 165

spring-framework/spring-beans/src/main/java/org/springframework/beans/MutablePropertyValues.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 272
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 299
 Warning extension MultipleStringLiteralsExtended The String "; " appears 2 times in the file. 373

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyAccessException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyAccessorUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 37
 Warning extension ReturnCountExtended Return count for 'getNestedPropertySeparatorIndex' method is 2 (max allowed is 1). 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 128
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 155
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 176

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyBatchUpdateException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ") are:" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "PropertyAccessException " appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "; nested PropertyAccessException details (" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 114

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyDescriptorUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " - " appears 3 times in the file. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyEditorRegistrySupport.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findCustomEditor' method is 2 (max allowed is 1). 312
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 319
 Warning extension LogicConditionNeedOptimization Condition with && at line 321 position 71 need optimization. All method calls are advised to move to end of logic expression. 321
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 358
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 384
 Warning extension LogicConditionNeedOptimization Condition with && at line 408 position 86 need optimization. All method calls are advised to move to end of logic expression. 408
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 435
 Warning extension LogicConditionNeedOptimization Condition with && at line 437 position 70 need optimization. All method calls are advised to move to end of logic expression. 437
 Warning extension MoveVariableInsideIf Variable 'actualPropertyName' can be moved inside the block at line '464' to restrict runtime creation. 457
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 458
 Warning extension MoveVariableInsideIf Variable 'editorNestedPath' can be moved inside the block at line '473' to restrict runtime creation. 472

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyMatches.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132

spring-framework/spring-beans/src/main/java/org/springframework/beans/PropertyValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension MultipleStringLiteralsExtended The String "Original must not be null" appears 2 times in the file. 82
 Warning extension LogicConditionNeedOptimization Condition with && at line 138 position 50 need optimization. All method calls are advised to move to end of logic expression. 138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187

spring-framework/spring-beans/src/main/java/org/springframework/beans/TypeConverterDelegate.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 125
 Warning extension ReturnCountExtended Return count for 'convertIfNecessary' method is 5 (max allowed is 1). 158
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 243
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 246
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 323
 Warning extension MultipleStringLiteralsExtended The String "Field [" appears 2 times in the file. 325
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 339
 Warning extension ReturnCountExtended Return count for 'doConvertValue' method is 2 (max allowed is 1). 378
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 396
 Warning extension MultipleStringLiteralsExtended The String "PropertyEditor [" appears 2 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "] does not support setValue call" appears 2 times in the file. 398
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 444
 Warning extension ReturnCountExtended Return count for 'convertToTypedArray' method is 4 (max allowed is 1). 454
 Warning extension ReturnCountExtended Return count for 'convertToTypedCollection' method is 7 (max allowed is 1). 493
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 528
 Warning extension MultipleStringLiteralsExtended The String "] - injecting original Collection as-is: " appears 2 times in the file. 531
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 545
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 558
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 562
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 571
 Warning extension ReturnCountExtended Return count for 'convertToTypedMap' method is 7 (max allowed is 1). 575
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 611
 Warning extension MultipleStringLiteralsExtended The String "] - injecting original Map as-is: " appears 2 times in the file. 614
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 628
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 642
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 644
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 648
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 657
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 661
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 667
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 673

spring-framework/spring-beans/src/main/java/org/springframework/beans/TypeMismatchException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String " to required type '" appears 2 times in the file. 63

spring-framework/spring-beans/src/main/java/org/springframework/beans/annotation/AnnotationBeanUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/BeanCreationException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Error creating bean with name '" appears 2 times in the file. 66
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 143
 Warning extension MultipleStringLiteralsExtended The String "Related cause:" appears 2 times in the file. 167

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/BeanFactoryUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 60
 Warning extension MultipleStringLiteralsExtended The String "'name' must not be null" appears 2 times in the file. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102
 Warning extension MultipleStringLiteralsExtended The String "ListableBeanFactory must not be null" appears 6 times in the file. 142
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 226
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 275

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/CannotLoadBeanClassException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] for bean with name '" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "' defined in " appears 2 times in the file. 50

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/NoSuchBeanDefinitionException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No bean named '" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "No qualifying bean of type [" appears 3 times in the file. 67

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/UnsatisfiedDependencyException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ": " appears 4 times in the file. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 91

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 275
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 278
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 336
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 336
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 338
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 338
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 340
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 349
 Warning extension MultipleStringLiteralsExtended The String "Group resource name [" appears 2 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "], factory key [" appears 3 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 389

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/AnnotationBeanWiringInfoResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 43
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 53
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 57

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowire.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 70

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 322
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 333
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 351
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 359
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 384
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 388
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 402
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 452
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 531
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 560
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 599
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 646
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 648
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 655

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/BeanFactoryAnnotationUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No matching " appears 2 times in the file. 63
 Warning extension ReturnCountExtended Return count for 'qualifiedBeanOfType' method is 2 (max allowed is 1). 79
 Warning extension MultipleStringLiteralsExtended The String " bean found for qualifier '" appears 2 times in the file. 87

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/InitDestroyAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 136
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 138
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 156
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 4 times in the file. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 276
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 293
 Warning extension MultipleStringLiteralsExtended The String "': " appears 2 times in the file. 298
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 307
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 335
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 361

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/InjectionMetadata.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 124
 Warning extension MultipleStringLiteralsExtended The String "] is incompatible with resource type [" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 154
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 181
 Warning extension ReturnCountExtended Return count for 'checkPropertySkipping' method is 4 (max allowed is 1). 191
 Warning extension LogicConditionNeedOptimization Condition with && at line 226 position 40 need optimization. All method calls are advised to move to end of logic expression. 226

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/QualifierAnnotationAutowireCandidateResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension ReturnCountExtended Return count for 'checkQualifiers' method is 2 (max allowed is 1). 161
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 171
 Warning extension ReturnCountExtended Return count for 'checkQualifier' method is 4 (max allowed is 1). 215
 Warning extension LogicConditionNeedOptimization Condition with && at line 257 position 27 need optimization. All method calls are advised to move to end of logic expression. 257
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 294

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 184
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 198
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 221

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/AbstractFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 230
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 269

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/BeanDefinitionHolder.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 122

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/BeanDefinitionVisitor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 240
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 242
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 258
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 260
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 284

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/BeanExpressionContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/ConstructorArgumentValues.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension OverridableMethodInConstructor Overridable method 'addArgumentValues' is called in constructor body. 61
 Warning extension MultipleStringLiteralsExtended The String "Index must not be negative" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "ValueHolder must not be null" appears 2 times in the file. 112
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 359
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 367
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 562

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255
 Warning extension ReturnCountExtended Return count for 'getDependencyType' method is 4 (max allowed is 1). 262
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 307
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 317
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 365

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 215

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessorAdapter.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 49

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/MethodInvokingBean.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 123
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 126

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/PropertyPathFactoryBean.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 199 position 30 need optimization. All method calls are advised to move to end of logic expression. 199

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 259

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/RuntimeBeanReference.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100
 Warning extension LogicConditionNeedOptimization Condition with && at line 100 position 46 need optimization. All method calls are advised to move to end of logic expression. 100

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBean.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex3' was lost. 295
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 353

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/TypedStringValue.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setValue' is called in constructor body. 55
 Warning extension OverridableMethodInConstructor Overridable method 'setValue' is called in constructor body. 65
 Warning extension OverridableMethodInConstructor Overridable method 'setTargetType' is called in constructor body. 66
 Warning extension OverridableMethodInConstructor Overridable method 'setValue' is called in constructor body. 76
 Warning extension OverridableMethodInConstructor Overridable method 'setTargetTypeName' is called in constructor body. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 218

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/YamlMapFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/YamlProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension ReturnCountExtended Return count for 'asMap' method is 2 (max allowed is 1). 194
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension MultipleStringLiteralsExtended The String "[" appears 3 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 215
 Warning extension ReturnCountExtended Return count for 'process' method is 4 (max allowed is 1). 221
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 363
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'StrictMapAppenderConstructor' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 396
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 404

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/YamlPropertiesFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/parsing/BeanComponentDefinition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 138

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/parsing/CompositeComponentDefinition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/parsing/FailFastProblemReporter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 49

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/serviceloader/ServiceListFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'AbstractAutowireCapableBeanFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 160
 Warning extension OverridableMethodInConstructor Overridable method 'ignoreDependencyInterface' is called in constructor body. 161
 Warning extension OverridableMethodInConstructor Overridable method 'ignoreDependencyInterface' is called in constructor body. 162
 Warning extension OverridableMethodInConstructor Overridable method 'ignoreDependencyInterface' is called in constructor body. 163
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 312
 Warning extension ReturnCountExtended Return count for 'createBean' method is 2 (max allowed is 1). 446
 Warning extension MultipleStringLiteralsExtended The String "'" appears 8 times in the file. 450
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 471
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 506
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 507
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 519
 Warning extension LogicConditionNeedOptimization Condition with && at line 519 position 54 need optimization. All method calls are advised to move to end of logic expression. 519
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 542
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 559
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 621
 Warning extension ReturnCountExtended Return count for 'getTypeForFactoryMethod' method is 3 (max allowed is 1). 644
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 694
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 698
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 714
 Warning extension ReturnCountExtended Return count for 'getTypeForFactoryBean' method is 3 (max allowed is 1). 751
 Warning extension MoveVariableInsideIf Variable 'factoryMethodName' can be moved inside the block at line '757' to restrict runtime creation. 755
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 789
 Warning extension ReturnCountExtended Return count for 'getSingletonFactoryBeanForTypeCheck' method is 2 (max allowed is 1). 843
 Warning extension ReturnCountExtended Return count for 'getNonSingletonFactoryBeanForTypeCheck' method is 2 (max allowed is 1). 885
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 935
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 961
 Warning extension ReturnCountExtended Return count for 'createBeanInstance' method is 5 (max allowed is 1). 1004
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1072
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1100
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1202
 Warning extension MultipleStringLiteralsExtended The String "' via property '" appears 2 times in the file. 1245
 Warning extension MultipleStringLiteralsExtended The String "' to bean named '" appears 2 times in the file. 1245
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1276
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1319
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1364
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1385
 Warning extension MultipleStringLiteralsExtended The String "Error setting property values" appears 2 times in the file. 1452
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1468
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1572
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1574
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1613
 Warning extension MultipleStringLiteralsExtended The String "afterPropertiesSet" appears 2 times in the file. 1614
 Warning extension AvoidHidingCauseException Cause exception 'pae' was lost. 1629
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1655
 Warning extension MultipleStringLiteralsExtended The String "' on bean with name '" appears 2 times in the file. 1661
 Warning extension AvoidHidingCauseException Cause exception 'pae' was lost. 1696
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1705

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension OverridableMethodInConstructor Overridable method 'setConstructorArgumentValues' is called in constructor body. 202
 Warning extension OverridableMethodInConstructor Overridable method 'setPropertyValues' is called in constructor body. 203
 Warning extension OverridableMethodInConstructor Overridable method 'setBeanClassName' is called in constructor body. 213
 Warning extension OverridableMethodInConstructor Overridable method 'setFactoryBeanName' is called in constructor body. 214
 Warning extension OverridableMethodInConstructor Overridable method 'setFactoryMethodName' is called in constructor body. 215
 Warning extension OverridableMethodInConstructor Overridable method 'setScope' is called in constructor body. 216
 Warning extension OverridableMethodInConstructor Overridable method 'setAbstract' is called in constructor body. 217
 Warning extension OverridableMethodInConstructor Overridable method 'setLazyInit' is called in constructor body. 218
 Warning extension OverridableMethodInConstructor Overridable method 'setRole' is called in constructor body. 219
 Warning extension OverridableMethodInConstructor Overridable method 'setConstructorArgumentValues' is called in constructor body. 220
 Warning extension OverridableMethodInConstructor Overridable method 'setPropertyValues' is called in constructor body. 221
 Warning extension OverridableMethodInConstructor Overridable method 'setBeanClass' is called in constructor body. 228
 Warning extension OverridableMethodInConstructor Overridable method 'setAutowireMode' is called in constructor body. 230
 Warning extension OverridableMethodInConstructor Overridable method 'setDependencyCheck' is called in constructor body. 231
 Warning extension OverridableMethodInConstructor Overridable method 'setDependsOn' is called in constructor body. 232
 Warning extension OverridableMethodInConstructor Overridable method 'setAutowireCandidate' is called in constructor body. 233
 Warning extension OverridableMethodInConstructor Overridable method 'copyQualifiersFrom' is called in constructor body. 234
 Warning extension OverridableMethodInConstructor Overridable method 'setPrimary' is called in constructor body. 235
 Warning extension OverridableMethodInConstructor Overridable method 'setNonPublicAccessAllowed' is called in constructor body. 236
 Warning extension OverridableMethodInConstructor Overridable method 'setLenientConstructorResolution' is called in constructor body. 237
 Warning extension OverridableMethodInConstructor Overridable method 'setInitMethodName' is called in constructor body. 238
 Warning extension OverridableMethodInConstructor Overridable method 'setEnforceInitMethod' is called in constructor body. 239
 Warning extension OverridableMethodInConstructor Overridable method 'setDestroyMethodName' is called in constructor body. 240
 Warning extension OverridableMethodInConstructor Overridable method 'setEnforceDestroyMethod' is called in constructor body. 241
 Warning extension OverridableMethodInConstructor Overridable method 'setMethodOverrides' is called in constructor body. 242
 Warning extension OverridableMethodInConstructor Overridable method 'setSynthetic' is called in constructor body. 243
 Warning extension OverridableMethodInConstructor Overridable method 'setResource' is called in constructor body. 244
 Warning extension OverridableMethodInConstructor Overridable method 'setResourceDescription' is called in constructor body. 247
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 338
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 450
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 691
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 714
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 729
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 897
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 909
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 956

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinitionReader.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 167
 Warning extension ReturnCountExtended Return count for 'loadBeanDefinitions' method is 2 (max allowed is 1). 206
 Warning extension MultipleStringLiteralsExtended The String "Loaded " appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 224

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 155
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension ReturnCountExtended Return count for 'doGetBean' method is 4 (max allowed is 1). 232
 Warning extension MultipleStringLiteralsExtended The String "'" appears 6 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "No Scope registered for scope '" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 373
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 375
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 385
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 389
 Warning extension ReturnCountExtended Return count for 'isSingleton' method is 5 (max allowed is 1). 393
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 399
 Warning extension ReturnCountExtended Return count for 'isPrototype' method is 6 (max allowed is 1). 439
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 451
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 465
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 471
 Warning extension ReturnCountExtended Return count for 'isTypeMatch' method is 7 (max allowed is 1). 482
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 484
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 490
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 492
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 519
 Warning extension ReturnCountExtended Return count for 'getType' method is 5 (max allowed is 1). 563
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 606
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 615
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 623
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 661
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 680
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 769
 Warning extension MultipleStringLiteralsExtended The String "Scope identifier must not be null" appears 2 times in the file. 854
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 898
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 955
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 973
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 983
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1000
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1117
 Warning extension ReturnCountExtended Return count for 'resolveBeanClass' method is 2 (max allowed is 1). 1305
 Warning extension AvoidHidingCauseException Cause exception 'pae' was lost. 1325
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1346
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1364
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1398
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1472
 Warning extension ReturnCountExtended Return count for 'getObjectForBeanInstance' method is 2 (max allowed is 1). 1490
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1516
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1543
 Warning extension MoveVariableInsideIf Variable 'acc' can be moved inside the block at line '1,561' to restrict runtime creation. 1560
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1560

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/AutowireCandidateQualifier.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Type name must not be null" appears 2 times in the file. 57

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/AutowireUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 66
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 93
 Warning extension ReturnCountExtended Return count for 'resolveReturnTypeForFactoryMethod' method is 2 (max allowed is 1). 192
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 218
 Warning extension MultipleStringLiteralsExtended The String "] for factory method argument" appears 2 times in the file. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 250
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 297
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 310

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 127
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 133
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 140

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionResource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionValueResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveValueIfNecessary' method is 2 (max allowed is 1). 103
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 142
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 196
 Warning extension ReturnCountExtended Return count for 'evaluate' method is 2 (max allowed is 1). 226
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 242
 Warning extension ReturnCountExtended Return count for 'resolveInnerBean' method is 2 (max allowed is 1). 279
 Warning extension ReturnCountExtended Return count for 'resolveReference' method is 2 (max allowed is 1). 337
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 379
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 391
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 404

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/CglibSubclassingInstantiationStrategy.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 230

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/ChildBeanDefinition.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ChildBeanDefinition' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/ConstructorResolver.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'argsHolderToUse' can be moved inside the block at line '127' to restrict runtime creation. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 148
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 151
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 162
 Warning extension MultipleStringLiteralsExtended The String "] of bean '" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "': " appears 2 times in the file. 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 209
 Warning extension MultipleStringLiteralsExtended The String "' " appears 2 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "(hint: specify index/type/name arguments for simple parameters to avoid type ambiguities): " appears 2 times in the file. 243
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 274
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 326
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 332
 Warning extension ReturnCountExtended Return count for 'instantiateUsingFactoryMethod' method is 2 (max allowed is 1). 352
 Warning extension MoveVariableInsideIf Variable 'argsHolderToUse' can be moved inside the block at line '415' to restrict runtime creation. 392
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 421
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 431
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 449
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 499
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 528
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 531
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 535
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 539
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 598
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 612
 Warning extension MultipleStringLiteralsExtended The String "constructor argument" appears 3 times in the file. 634
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 668
 Warning extension MultipleStringLiteralsExtended The String "constructor" appears 2 times in the file. 668
 Warning extension MultipleStringLiteralsExtended The String "factory method" appears 2 times in the file. 668
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 669
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 674
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 675
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 679
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 707
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 720
 Warning extension MultipleStringLiteralsExtended The String "Could not convert " appears 2 times in the file. 722
 Warning extension MultipleStringLiteralsExtended The String " argument value of type [" appears 2 times in the file. 722
 Warning extension MultipleStringLiteralsExtended The String "] to required type [" appears 2 times in the file. 724
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 724
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 771
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 773
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 796
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 797
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 850
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 905

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 163
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DefaultListableBeanFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 185
 Warning extension ReturnCountExtended Return count for 'getBean' method is 4 (max allowed is 1). 335
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 339
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 353
 Warning extension LogicConditionNeedOptimization Condition with || at line 403 position 31 need optimization. All method calls are advised to move to end of logic expression. 403
 Warning extension LogicConditionNeedOptimization Condition with || at line 403 position 47 need optimization. All method calls are advised to move to end of logic expression. 403
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 407
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 420
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 453
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 507
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 520
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 548
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 566
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 609
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 610
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 670
 Warning extension MultipleStringLiteralsExtended The String "No bean named '" appears 2 times in the file. 685
 Warning extension MultipleStringLiteralsExtended The String "' found in " appears 2 times in the file. 685
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 694
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 718
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 729
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 747
 Warning extension MultipleStringLiteralsExtended The String "] with [" appears 2 times in the file. 817
 Warning extension ReturnCountExtended Return count for 'doResolveDependency' method is 8 (max allowed is 1). 948
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 956
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 959
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 960
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 979
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1006
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1082
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1107
 Warning extension MoveVariableInsideIf Variable 'candidateBeanName' can be moved inside the block at line '1,215' to restrict runtime creation. 1212
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1248
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1287
 Warning extension MultipleStringLiteralsExtended The String "Cannot deserialize BeanFactory with id " appears 2 times in the file. 1357
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 1391

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultSingletonBeanRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension MultipleStringLiteralsExtended The String "'beanName' must not be null" appears 2 times in the file. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 225
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 259
 Warning extension MultipleStringLiteralsExtended The String "Bean name must not be null" appears 2 times in the file. 312
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 313
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 323
 Warning extension ReturnCountExtended Return count for 'isDependent' method is 4 (max allowed is 1). 451
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 580
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 616

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/DisposableBeanAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 60
 Warning extension MultipleStringLiteralsExtended The String "Disposable bean must not be null" appears 2 times in the file. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 112
 Warning extension MultipleStringLiteralsExtended The String "destroy" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "' on bean with name '" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "'" appears 6 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Method '" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "' of bean '" appears 2 times in the file. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 152
 Warning extension ReturnCountExtended Return count for 'inferDestroyMethodIfNecessary' method is 3 (max allowed is 1). 188
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 261
 Warning extension MultipleStringLiteralsExtended The String ": " appears 3 times in the file. 267
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 305
 Warning extension AvoidHidingCauseException Cause exception 'pax' was lost. 345
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 363
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 402

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/FactoryBeanRegistrySupport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension ReturnCountExtended Return count for 'getObjectFromFactoryBean' method is 2 (max allowed is 1). 98
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 120
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 132
 Warning extension AvoidHidingCauseException Cause exception 'pae' was lost. 164
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 172
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 174

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/GenericBeanDefinition.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'GenericBeanDefinition' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/GenericTypeAwareAutowireCandidateResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64
 Warning extension ReturnCountExtended Return count for 'checkGenericTypeMatch' method is 2 (max allowed is 1). 71

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/LookupOverride.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedList.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedMap.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/ManagedSet.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/MethodOverride.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/MethodOverrides.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension OverridableMethodInConstructor Overridable method 'addOverrides' is called in constructor body. 50

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 292
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 364
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 437

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/ReplaceOverride.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 101

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/RootBeanDefinition.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'RootBeanDefinition' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 103
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'RootBeanDefinition' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 111
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'RootBeanDefinition' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 244
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 254
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 269
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 285
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 301
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 314

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/SimpleBeanDefinitionRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/SimpleInstantiationStrategy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension ReturnCountExtended Return count for 'instantiate' method is 2 (max allowed is 1). 59
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 84
 Warning extension MultipleStringLiteralsExtended The String "Method Injection not supported in SimpleInstantiationStrategy" appears 2 times in the file. 104
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 189

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/SimpleSecurityContextProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/support/StaticListableBeanFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension ReturnCountExtended Return count for 'getBean' method is 2 (max allowed is 1). 80
 Warning extension MultipleStringLiteralsExtended The String "Defined beans are [" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 86
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 99
 Warning extension MultipleStringLiteralsExtended The String "StaticListableBeanFactory does not support explicit bean creation arguments" appears 2 times in the file. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 225
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 226
 Warning extension LogicConditionNeedOptimization Condition with && at line 229 position 43 need optimization. All method calls are advised to move to end of logic expression. 229
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 257
 Warning extension LogicConditionNeedOptimization Condition with && at line 263 position 43 need optimization. All method calls are advised to move to end of logic expression. 263
 Warning extension LogicConditionNeedOptimization Condition with && at line 268 position 57 need optimization. All method calls are advised to move to end of logic expression. 268
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 290
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 303

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/wiring/BeanWiringInfo.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 129

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/AbstractBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 60

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 154

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 131
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 151
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 153
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 157
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 161
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 169
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 171
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 173
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 2 times in the file. 173
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 175
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 175
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 177
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 179
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 181
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 183
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 185
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 187
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 189
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 191
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 193
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 195
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 197
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 201
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 203
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 205
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 209
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 211
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 211
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 213
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 215
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 217
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 219
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 221
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 223
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 225
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 227
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 229
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 231
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 233
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 235
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 237
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 239
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 241
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 244
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 257
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 343
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 433
 Warning extension ReturnCountExtended Return count for 'parseBeanDefinitionElement' method is 3 (max allowed is 1). 451
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 455
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 496
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 499
 Warning extension ReturnCountExtended Return count for 'parseBeanDefinitionElement' method is 2 (max allowed is 1). 536
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 575
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 823
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 907
 Warning extension ReturnCountExtended Return count for 'parsePropertyValue' method is 4 (max allowed is 1). 967
 Warning extension ReturnCountExtended Return count for 'parsePropertySubElement' method is 2 (max allowed is 1). 1032
 Warning extension MultipleStringLiteralsExtended The String "Type class [" appears 2 times in the file. 1143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1190
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1231
 Warning extension MultipleStringLiteralsExtended The String "<entry> element is only allowed to contain either " appears 2 times in the file. 1276
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate Spring NamespaceHandler for XML schema namespace [" appears 2 times in the file. 1424
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1528
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1536

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeansDtdResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveEntity' method is 2 (max allowed is 1). 55

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/DefaultBeanDefinitionDocumentReader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 214
 Warning extension MoveVariableInsideIf Variable 'importCount' can be moved inside the block at line '230' to restrict runtime creation. 229
 Warning extension MultipleStringLiteralsExtended The String "Imported " appears 2 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 231
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 288
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 290

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/DefaultDocumentLoader.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 107

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/DefaultNamespaceHandlerResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101
 Warning extension ReturnCountExtended Return count for 'resolve' method is 2 (max allowed is 1). 113
 Warning extension MultipleStringLiteralsExtended The String "] for namespace [" appears 3 times in the file. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 159

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/DelegatingEntityResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " to " appears 2 times in the file. 95

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandlerSupport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 86

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/ParserContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 93

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/PluggableSchemaResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveEntity' method is 2 (max allowed is 1). 104
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/ResourceEntityResolver.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/SimpleConstructorNamespaceHandler.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 101
 Warning extension MultipleStringLiteralsExtended The String "Constructor argument '" appears 4 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String " Only one approach may be used per argument." appears 2 times in the file. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 144

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/UtilNamespaceHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 86

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/XmlBeanDefinitionReader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 221
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 239
 Warning extension MultipleStringLiteralsExtended The String "IOException parsing XML document from " appears 2 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String " is invalid" appears 2 times in the file. 399
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 413
 Warning extension MultipleStringLiteralsExtended The String "Unable to determine validation mode for [" appears 2 times in the file. 478

spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/xml/XmlReaderContext.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 102

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/ByteArrayPropertyEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CharArrayPropertyEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CharacterEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CharsetEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/ClassArrayEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 57

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/ClassEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 56

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CurrencyEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 40

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomBooleanEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 132

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomCollectionEditor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 157
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 158

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomDateEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 122

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomMapEditor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 135
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 136

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/FileEditor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 120

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/InputSourceEditor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 83

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/InputStreamEditor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 76

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/LocaleEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 45

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/PatternEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 66

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringTrimmerEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/TimeZoneEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 45

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/URIEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 97
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 114
 Warning extension MultipleStringLiteralsExtended The String "Invalid URI syntax: " appears 2 times in the file. 117
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 161

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/URLEditor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/UUIDEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 47

spring-framework/spring-beans/src/main/java/org/springframework/beans/propertyeditors/ZoneIdEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 44

spring-framework/spring-beans/src/main/java/org/springframework/beans/support/ArgumentConvertingMethodInvoker.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doFindMatchingMethod' method is 2 (max allowed is 1). 130

spring-framework/spring-beans/src/main/java/org/springframework/beans/support/MutableSortDefinition.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101
 Warning extension LogicConditionNeedOptimization Condition with || at line 101 position 54 need optimization. All method calls are advised to move to end of logic expression. 101
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 165

spring-framework/spring-beans/src/main/java/org/springframework/beans/support/PagedListHolder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51
 Warning extension OverridableMethodInConstructor Overridable method 'setSource' is called in constructor body. 100
 Warning extension OverridableMethodInConstructor Overridable method 'setSort' is called in constructor body. 101
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 256

spring-framework/spring-beans/src/main/java/org/springframework/beans/support/PropertyComparator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'compare' method is 2 (max allowed is 1). 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 93
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103

spring-framework/spring-beans/src/test/java/org/springframework/beans/AbstractConfigurablePropertyAccessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "John" appears 21 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "xxxxx" appears 2 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleStringLiteralsExtended The String "London" appears 8 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "UK" appears 11 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "address.city" appears 4 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "address.country.name" appears 6 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "DefaultCountry" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "address.bar" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "SomeValue" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "Paris" appears 7 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "FR" appears 7 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 227

spring-framework/spring-beans/src/test/java/org/springframework/beans/AbstractPropertyValuesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "forname" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "surname" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

spring-framework/spring-beans/src/test/java/org/springframework/beans/BeanUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown FatalBeanException" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 5 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "touchy" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Name empty" appears 5 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "Age empty" appears 5 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Touchy empty" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "Name copied" appears 5 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Age copied" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Touchy copied" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "Touchy still empty" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension MultipleStringLiteralsExtended The String "doSomething" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "doSomethingElse" appears 3 times in the file. 229
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 229
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 236
 Warning extension MultipleStringLiteralsExtended The String "overloaded" appears 3 times in the file. 243
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 247
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 251
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 257
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 260

spring-framework/spring-beans/src/test/java/org/springframework/beans/BeanWrapperAutoGrowingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "nested.prop" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 56
 Warning extension MultipleStringLiteralsExtended The String "array[0]" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "list[0]" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "list[4]" appears 2 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 144
 Warning extension MultipleStringLiteralsExtended The String "A" appears 2 times in the file. 152

spring-framework/spring-beans/src/test/java/org/springframework/beans/BeanWrapperEnumTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "customEnum" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "VALUE_1" appears 8 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "customEnumArray" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "VALUE_2" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "VALUE_1,VALUE_2" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "customEnumSet" appears 3 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 156

spring-framework/spring-beans/src/test/java/org/springframework/beans/BeanWrapperGenericsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension MultipleStringLiteralsExtended The String "4" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "5" appears 14 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "integerSet" appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:8080" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:9090" appears 2 times in the file. 97
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116
 Warning extension MultipleStringLiteralsExtended The String "6" appears 4 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "7" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "shortMap[4]" appears 2 times in the file. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138
 Warning extension MultipleStringLiteralsExtended The String "longMap[4]" appears 2 times in the file. 151
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 188
 Warning extension MultipleStringLiteralsExtended The String "listOfLists[0][0]" appears 4 times in the file. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 211
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 212
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "listOfArrays[0][1]" appears 4 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "str3 " appears 4 times in the file. 216
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 223
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224
 Warning extension MultipleStringLiteralsExtended The String "str3" appears 2 times in the file. 230
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 236
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 237
 Warning extension MultipleStringLiteralsExtended The String "listOfMaps[0][10]" appears 4 times in the file. 241
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 248
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 261
 Warning extension MultipleStringLiteralsExtended The String "mykey" appears 4 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "mapOfMaps[mykey][10]" appears 4 times in the file. 265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 272
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 273
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 285
 Warning extension MultipleStringLiteralsExtended The String "mapOfLists[1][0]" appears 4 times in the file. 289
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 296
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 297
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 308
 Warning extension MultipleStringLiteralsExtended The String "testKey" appears 8 times in the file. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 321
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 322
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 336
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 367
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 368
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 370
 Warning extension MultipleStringLiteralsExtended The String "10" appears 10 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "genericMap" appears 2 times in the file. 376
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 384
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 385
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 387
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 401
 Warning extension MultipleStringLiteralsExtended The String "genericIndexedMap[1]" appears 2 times in the file. 406
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 414
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 427
 Warning extension MultipleStringLiteralsExtended The String "derivedIndexedMap[1]" appears 2 times in the file. 432
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 440
 Warning extension MultipleStringLiteralsExtended The String "genericProperty" appears 2 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "genericListProperty" appears 2 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "20" appears 2 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "30" appears 2 times in the file. 456
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 501
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 502
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 503
 Warning extension MultipleStringLiteralsExtended The String "it works!" appears 2 times in the file. 508
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 576

spring-framework/spring-beans/src/test/java/org/springframework/beans/BeanWrapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "listOfMaps[0]['luckyNumber']" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "9" appears 7 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "luckyNumber" appears 3 times in the file. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "list[0]" appears 6 times in the file. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension MultipleStringLiteralsExtended The String "array" appears 11 times in the file. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension MultipleStringLiteralsExtended The String "list" appears 11 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension MultipleStringLiteralsExtended The String "set" appears 10 times in the file. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension MultipleStringLiteralsExtended The String "map" appears 10 times in the file. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 2 times in the file. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension MultipleStringLiteralsExtended The String "array[0]" appears 7 times in the file. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension MultipleStringLiteralsExtended The String "array[0].name" appears 5 times in the file. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension MultipleStringLiteralsExtended The String "list[0].name" appears 5 times in the file. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension MultipleStringLiteralsExtended The String "set[0]" appears 3 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String "set[0].name" appears 5 times in the file. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension MultipleStringLiteralsExtended The String "map[key1]" appears 6 times in the file. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension MultipleStringLiteralsExtended The String "map[key1].name" appears 4 times in the file. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension MultipleStringLiteralsExtended The String "map[key4][0]" appears 2 times in the file. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension MultipleStringLiteralsExtended The String "map[key4][0].name" appears 5 times in the file. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension MultipleStringLiteralsExtended The String "map[key4][1]" appears 2 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension MultipleStringLiteralsExtended The String "map[key4][1].name" appears 5 times in the file. 153
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension MultipleStringLiteralsExtended The String "array[key1]" appears 2 times in the file. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension MultipleStringLiteralsExtended The String "map[key0]" appears 5 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "name" appears 13 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "tom" appears 2 times in the file. 189
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 200
 Warning extension MultipleStringLiteralsExtended The String "age is OK" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "name is OK" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't throw exception when everything is valid" appears 4 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "tony" appears 4 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "valid" appears 2 times in the file. 219
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 220
 Warning extension MultipleStringLiteralsExtended The String "age" appears 7 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "touchy" appears 4 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "Validly set property must stick" appears 7 times in the file. 228
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 241
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 249
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 5 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "bool2" appears 4 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "Correct bool2 value" appears 4 times in the file. 309
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 323
 Warning extension MultipleStringLiteralsExtended The String "short2" appears 4 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "2" appears 11 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "int2" appears 4 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "8" appears 5 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "long2" appears 4 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "6" appears 6 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "bigInteger" appears 4 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "3" appears 11 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "float2" appears 4 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "8.1" appears 5 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "double2" appears 4 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "6.1" appears 5 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "bigDecimal" appears 4 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "4.0" appears 5 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "Should not throw BeansException: " appears 2 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "Correct short2 value" appears 4 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Correct int2 value" appears 4 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "Correct long2 value" appears 4 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "Correct bigInteger value" appears 4 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "Correct float2 value" appears 4 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "Correct double2 value" appears 4 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "Correct bigDecimal value" appears 4 times in the file. 348
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 357
 Warning extension MultipleStringLiteralsExtended The String "autowire" appears 3 times in the file. 391
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown TypeMismatchException" appears 2 times in the file. 399
 Warning extension MultipleStringLiteralsExtended The String "ptest" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 13 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 9 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "fi" appears 15 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "fum" appears 9 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "stringArray length = 4" appears 4 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "correct values" appears 25 times in the file. 431
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 434
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 444
 Warning extension MultipleStringLiteralsExtended The String "stringArray length = 3" appears 2 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "one" appears 3 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "stringArray length = 1" appears 2 times in the file. 454
 Warning extension MultipleStringLiteralsExtended The String "4foo" appears 3 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "7fi" appears 3 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "6fi" appears 2 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "5fum" appears 2 times in the file. 472
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 477
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 487
 Warning extension MultipleStringLiteralsExtended The String "stringArray length = 2" appears 2 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 3 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 3 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 515
 Warning extension MultipleStringLiteralsExtended The String "a1-b2" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "Test0" appears 2 times in the file. 527
 Warning extension MultipleStringLiteralsExtended The String "array[2]" appears 2 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String "Test2" appears 2 times in the file. 530
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 559
 Warning extension MultipleStringLiteralsExtended The String "intArray" appears 14 times in the file. 579
 Warning extension MultipleStringLiteralsExtended The String "intArray length = 4" appears 12 times in the file. 580
 Warning extension MultipleStringLiteralsExtended The String "4" appears 5 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 584
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 589
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 599
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 605
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 620
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 654
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 679
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "Should throw exception on type mismatch" appears 2 times in the file. 738
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 756
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 15 times in the file. 765
 Warning extension MultipleStringLiteralsExtended The String "kerry" appears 3 times in the file. 784
 Warning extension MultipleStringLiteralsExtended The String "spouse.age" appears 4 times in the file. 788
 Warning extension MultipleStringLiteralsExtended The String "spouse.spouse.age" appears 2 times in the file. 790
 Warning extension MultipleStringLiteralsExtended The String "spouse.spouse" appears 5 times in the file. 792
 Warning extension MultipleStringLiteralsExtended The String "nested set worked" appears 4 times in the file. 822
 Warning extension MultipleStringLiteralsExtended The String "no back relation" appears 2 times in the file. 823
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 2 times in the file. 857
 Warning extension MultipleStringLiteralsExtended The String "Lewisham" appears 2 times in the file. 858
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 900
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 901
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 902
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 903
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 904
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 4 times in the file. 904
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 905
 Warning extension MultipleStringLiteralsExtended The String "name0" appears 5 times in the file. 906
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 5 times in the file. 907
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 5 times in the file. 908
 Warning extension MultipleStringLiteralsExtended The String "name3" appears 5 times in the file. 909
 Warning extension MultipleStringLiteralsExtended The String "name6" appears 2 times in the file. 910
 Warning extension MultipleStringLiteralsExtended The String "name7" appears 2 times in the file. 911
 Warning extension MultipleStringLiteralsExtended The String "name4" appears 6 times in the file. 912
 Warning extension MultipleStringLiteralsExtended The String "name5" appears 6 times in the file. 913
 Warning extension MultipleStringLiteralsExtended The String "array[1].name" appears 3 times in the file. 915
 Warning extension MultipleStringLiteralsExtended The String "list[1].name" appears 3 times in the file. 917
 Warning extension MultipleStringLiteralsExtended The String "set[1].name" appears 3 times in the file. 919
 Warning extension MultipleStringLiteralsExtended The String "name8" appears 2 times in the file. 932
 Warning extension MultipleStringLiteralsExtended The String "name9" appears 2 times in the file. 933
 Warning extension MultipleStringLiteralsExtended The String "map['key.3'].name" appears 2 times in the file. 935
 Warning extension MultipleStringLiteralsExtended The String "nameA" appears 2 times in the file. 936
 Warning extension MultipleStringLiteralsExtended The String "nameB" appears 2 times in the file. 937
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 963
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 964
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 965
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 966
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 967
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 968
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 3 times in the file. 968
 Warning extension MultipleStringLiteralsExtended The String "array[1]" appears 4 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "list[1]" appears 3 times in the file. 972
 Warning extension MultipleStringLiteralsExtended The String "map[key2]" appears 4 times in the file. 976
 Warning extension MultipleStringLiteralsExtended The String "list[2]" appears 2 times in the file. 985
 Warning extension MultipleStringLiteralsExtended The String "list[4]" appears 2 times in the file. 986
 Warning extension MultipleStringLiteralsExtended The String "map['key2']" appears 2 times in the file. 988
 Warning extension MultipleStringLiteralsExtended The String "map['key9']" appears 2 times in the file. 990
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 994
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 995
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 996
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 997
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 998
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 999
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1000
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1001
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1002
 Warning extension MultipleStringLiteralsExtended The String "rob" appears 7 times in the file. 1032
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1046
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1064
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1088
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1111
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 1116
 Warning extension MultipleStringLiteralsExtended The String "Took too long" appears 5 times in the file. 1149
 Warning extension MultipleStringLiteralsExtended The String "array3" appears 2 times in the file. 1160
 Warning extension MultipleStringLiteralsExtended The String "someProperty" appears 2 times in the file. 1228
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 3 times in the file. 1228
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1244
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1252
 Warning extension MultipleStringLiteralsExtended The String "coll1" appears 3 times in the file. 1253
 Warning extension MultipleStringLiteralsExtended The String "collection" appears 5 times in the file. 1254
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1255
 Warning extension MultipleStringLiteralsExtended The String "set1" appears 6 times in the file. 1256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1258
 Warning extension MultipleStringLiteralsExtended The String "sortedSet1" appears 7 times in the file. 1259
 Warning extension MultipleStringLiteralsExtended The String "sortedSet" appears 7 times in the file. 1260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1261
 Warning extension MultipleStringLiteralsExtended The String "list1" appears 7 times in the file. 1262
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1275
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1278
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1281
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1294
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1302
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1305
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1308
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1317
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1321
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1329
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1332
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1335
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1348
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1356
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1359
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1362
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1365
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1375
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1383
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1386
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1395
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1397
 Warning extension MultipleStringLiteralsExtended The String "list1 " appears 2 times in the file. 1409
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1418
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1425
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 1426
 Warning extension MultipleStringLiteralsExtended The String "sortedKey" appears 3 times in the file. 1429
 Warning extension MultipleStringLiteralsExtended The String "sortedValue" appears 3 times in the file. 1429
 Warning extension MultipleStringLiteralsExtended The String "sortedMap" appears 2 times in the file. 1430
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1439
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1442
 Warning extension MultipleStringLiteralsExtended The String " " appears 12 times in the file. 1456
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1505
 Warning extension MultipleStringLiteralsExtended The String "Possible matches not determined" appears 2 times in the file. 1509
 Warning extension MultipleStringLiteralsExtended The String "Invalid amount of alternatives" appears 2 times in the file. 1510
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1518
 Warning extension MultipleStringLiteralsExtended The String "enumValue" appears 2 times in the file. 1531
 Warning extension MultipleStringLiteralsExtended The String ".TEST_VALUE" appears 2 times in the file. 1531
 Warning extension MultipleStringLiteralsExtended The String "val1" appears 2 times in the file. 1547
 Warning extension MultipleStringLiteralsExtended The String "object" appears 7 times in the file. 1557
 Warning extension MultipleStringLiteralsExtended The String "a String" appears 2 times in the file. 1569
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1571
 Warning extension MultipleStringLiteralsExtended The String "x" appears 8 times in the file. 1578
 Warning extension MultipleStringLiteralsExtended The String "object.name" appears 5 times in the file. 1587
 Warning extension MultipleStringLiteralsExtended The String "y" appears 4 times in the file. 1589
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1614
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 1697
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1910
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 1914
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 2041
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 2046
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 2055

spring-framework/spring-beans/src/test/java/org/springframework/beans/CachedIntrospectionResultsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64

spring-framework/spring-beans/src/test/java/org/springframework/beans/ConcurrentBeanWrapperTests.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 65 position 25 need optimization. All method calls are advised to move to end of logic expression. 65
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 66
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 125

spring-framework/spring-beans/src/test/java/org/springframework/beans/ExtendedBeanInfoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 84 times in the file. 51
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 131
 Warning extension MultipleStringLiteralsExtended The String "setFoo" appears 3 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "never matched write method" appears 3 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "property1" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "foos" appears 61 times in the file. 340
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 448
 Warning extension MultipleStringLiteralsExtended The String "dateFormat" appears 12 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "a" appears 9 times in the file. 781
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 6 times in the file. 782
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 783
 Warning extension MultipleStringLiteralsExtended The String "targetMethod" appears 4 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "address" appears 8 times in the file. 851
 Warning extension MultipleStringLiteralsExtended The String "prop1" appears 8 times in the file. 869
 Warning extension MultipleStringLiteralsExtended The String "locationByPlatform" appears 4 times in the file. 886

spring-framework/spring-beans/src/test/java/org/springframework/beans/MutablePropertyValuesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "forname" appears 8 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 4 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "surname" appears 4 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "Blair" appears 4 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "age" appears 4 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "50" appears 4 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Gordon" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "changes are empty, not of length " appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 97

spring-framework/spring-beans/src/test/java/org/springframework/beans/PropertyAccessorUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "map" appears 4 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "map[key1]" appears 8 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "map['key1']" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "map[\"key1\"]" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "map[key1][key2]" appears 6 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "map['key1'][\"key2\"]" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "map[key1].name" appears 8 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "map['key1'].name" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "map[\"key1\"].name" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53

spring-framework/spring-beans/src/test/java/org/springframework/beans/SimplePropertyDescriptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 14 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "setFoo" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "getFoo" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "not a PD" appears 2 times in the file. 101

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/BeanFactoryUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "t1" appears 9 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "t2" appears 9 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 7 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "testFactory1" appears 7 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension MultipleStringLiteralsExtended The String "testFactory2" appears 3 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension MultipleStringLiteralsExtended The String "t3" appears 7 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "t4" appears 5 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension MultipleStringLiteralsExtended The String "&t3" appears 4 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "&t4" appears 4 times in the file. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension MultipleStringLiteralsExtended The String "&testFactory1" appears 8 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "&testFactory2" appears 8 times in the file. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension MultipleStringLiteralsExtended The String "int" appears 2 times in the file. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 57
 Warning extension LogicConditionNeedOptimization Condition with && at line 110 position 25 need optimization. All method calls are advised to move to end of logic expression. 110
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 111
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 143

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 115
 Warning extension MultipleStringLiteralsExtended The String "x1.(class)" appears 7 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "singleton not instantiated" appears 4 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "singleton was instantiated" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "x1" appears 74 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "x1.singleton" appears 5 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "false" appears 10 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "prototype not instantiated" appears 11 times in the file. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension MultipleStringLiteralsExtended The String "&x1" appears 55 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "x1.(singleton)" appears 2 times in the file. 177
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension MultipleStringLiteralsExtended The String "x2" appears 22 times in the file. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension MultipleStringLiteralsExtended The String "&x2" appears 21 times in the file. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension MultipleStringLiteralsExtended The String "createTestBean" appears 2 times in the file. 328
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 368
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension MultipleStringLiteralsExtended The String "factory" appears 4 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "createTestBeanNonStatic" appears 2 times in the file. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 395
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 397
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 419
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 422
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 423
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 438
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 439
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 442
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 444
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 445
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension MultipleStringLiteralsExtended The String "No beans defined after no arg constructor" appears 2 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "test" appears 101 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "test.(class)" appears 4 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "test.name" appears 4 times in the file. 491
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 6 times in the file. 491
 Warning extension MultipleStringLiteralsExtended The String "test.age" appears 4 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "48" appears 4 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "1 beans registered, not " appears 3 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "beans." appears 3 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "rod.(class)" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 5 times in the file. 518
 Warning extension MultipleStringLiteralsExtended The String "kerry.(class)" appears 8 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "kerry.name" appears 2 times in the file. 521
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 3 times in the file. 521
 Warning extension MultipleStringLiteralsExtended The String "kerry.age" appears 10 times in the file. 522
 Warning extension MultipleStringLiteralsExtended The String "35" appears 10 times in the file. 522
 Warning extension MultipleStringLiteralsExtended The String "kerry.spouse(ref)" appears 2 times in the file. 523
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 11 times in the file. 523
 Warning extension MultipleStringLiteralsExtended The String "kerry" appears 21 times in the file. 528
 Warning extension MultipleStringLiteralsExtended The String "my.value" appears 2 times in the file. 541
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 3 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 27 times in the file. 577
 Warning extension MultipleStringLiteralsExtended The String "self" appears 3 times in the file. 577
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 598
 Warning extension MultipleStringLiteralsExtended The String "age" appears 9 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "Non null" appears 6 times in the file. 615
 Warning extension MultipleStringLiteralsExtended The String "Singletons equal" appears 2 times in the file. 616
 Warning extension MultipleStringLiteralsExtended The String "kerry.(scope)" appears 2 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "prototype" appears 7 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "Prototypes NOT equal" appears 2 times in the file. 627
 Warning extension MultipleStringLiteralsExtended The String "Specified singletons equal" appears 2 times in the file. 638
 Warning extension MultipleStringLiteralsExtended The String "kerry.(singleton)" appears 3 times in the file. 646
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 5 times in the file. 657
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 661
 Warning extension MultipleStringLiteralsExtended The String "wife.(class)" appears 2 times in the file. 669
 Warning extension MultipleStringLiteralsExtended The String "wife.name" appears 2 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "kerry.(parent)" appears 2 times in the file. 672
 Warning extension MultipleStringLiteralsExtended The String "wife" appears 2 times in the file. 672
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 690
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 718
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 9 times in the file. 721
 Warning extension MultipleStringLiteralsExtended The String "child" appears 10 times in the file. 722
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 754
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 9 times in the file. 777
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 2 times in the file. 778
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 2 times in the file. 781
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 795
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 796
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 810
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 811
 Warning extension MultipleStringLiteralsExtended The String "testAlias" appears 6 times in the file. 833
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 836
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 837
 Warning extension MultipleStringLiteralsExtended The String "testAlias2" appears 3 times in the file. 845
 Warning extension MultipleStringLiteralsExtended The String "testAlias3" appears 2 times in the file. 846
 Warning extension MultipleStringLiteralsExtended The String "r.(class)" appears 2 times in the file. 857
 Warning extension MultipleStringLiteralsExtended The String "r.name" appears 2 times in the file. 858
 Warning extension MultipleStringLiteralsExtended The String "r" appears 2 times in the file. 864
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 865
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 877
 Warning extension MultipleStringLiteralsExtended The String "myFloat" appears 9 times in the file. 891
 Warning extension MultipleStringLiteralsExtended The String "1,1" appears 5 times in the file. 891
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 16 times in the file. 894
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 896
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 922
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 942
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 10 times in the file. 953
 Warning extension MultipleStringLiteralsExtended The String "myAge" appears 2 times in the file. 954
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 959
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 977
 Warning extension MultipleStringLiteralsExtended The String "test.spouse(ref)" appears 2 times in the file. 987
 Warning extension MultipleStringLiteralsExtended The String "singletonObject" appears 25 times in the file. 987
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 992
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1000
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1001
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1009
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1011
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1012
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1013
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1014
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1031
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1039
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1040
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1047
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1050
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1051
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1052
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1053
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1070
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1071
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1099
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1103
 Warning extension MultipleStringLiteralsExtended The String "resource1" appears 3 times in the file. 1109
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:8080" appears 5 times in the file. 1109
 Warning extension MultipleStringLiteralsExtended The String "resource2" appears 3 times in the file. 1110
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:9090" appears 5 times in the file. 1110
 Warning extension MultipleStringLiteralsExtended The String "arrayBean" appears 12 times in the file. 1114
 Warning extension MultipleStringLiteralsExtended The String "integer1" appears 2 times in the file. 1136
 Warning extension MultipleStringLiteralsExtended The String "integer2" appears 2 times in the file. 1137
 Warning extension MultipleStringLiteralsExtended The String "#{foo}" appears 2 times in the file. 1198
 Warning extension MultipleStringLiteralsExtended The String "myProperties" appears 2 times in the file. 1206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1219
 Warning extension MultipleStringLiteralsExtended The String "rod2" appears 2 times in the file. 1261
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown UnsatisfiedDependencyException" appears 13 times in the file. 1264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1312
 Warning extension MultipleStringLiteralsExtended The String "spous" appears 4 times in the file. 1319
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 4 times in the file. 1343
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 4 times in the file. 1344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1354
 Warning extension MultipleStringLiteralsExtended The String "Circular" appears 2 times in the file. 1354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1356
 Warning extension MultipleStringLiteralsExtended The String "'tb1'" appears 2 times in the file. 1356
 Warning extension MultipleStringLiteralsExtended The String "tb3" appears 2 times in the file. 1367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1380
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1384
 Warning extension MultipleStringLiteralsExtended The String "bd1" appears 22 times in the file. 1394
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1400
 Warning extension MultipleStringLiteralsExtended The String "bd2" appears 16 times in the file. 1406
 Warning extension MultipleStringLiteralsExtended The String "more than one 'primary'" appears 2 times in the file. 1432
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 1458
 Warning extension MultipleStringLiteralsExtended The String "na1" appears 2 times in the file. 1496
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NoSuchBeanDefinitionException" appears 2 times in the file. 1503
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1510
 Warning extension MultipleStringLiteralsExtended The String "factoryBean" appears 4 times in the file. 1639
 Warning extension MultipleStringLiteralsExtended The String "&factoryBean" appears 2 times in the file. 1640
 Warning extension MultipleStringLiteralsExtended The String "The FactoryBean should have been registered." appears 2 times in the file. 1641
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1663
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1686
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1687
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1704
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1705
 Warning extension MultipleStringLiteralsExtended The String "Exception should have cause" appears 2 times in the file. 1759
 Warning extension MultipleStringLiteralsExtended The String "Wrong cause type" appears 2 times in the file. 1760
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1795
 Warning extension MultipleStringLiteralsExtended The String "99" appears 6 times in the file. 1897
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1937
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 4 times in the file. 1978
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1987
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 2041
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Strin" appears 2 times in the file. 2058
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2065
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2079
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2093
 Warning extension MultipleStringLiteralsExtended The String "&test" appears 2 times in the file. 2109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2119
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 2135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2147
 Warning extension MultipleStringLiteralsExtended The String "myBeanName" appears 6 times in the file. 2149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2166
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 2171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2178
 Warning extension MultipleStringLiteralsExtended The String "Prototype creation took too long: " appears 6 times in the file. 2198
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 2245
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 4 times in the file. 2252
 Warning extension MultipleStringLiteralsExtended The String "Destroy method invoked" appears 3 times in the file. 2402
 Warning extension MultipleStringLiteralsExtended The String "factoryBeanInstance" appears 4 times in the file. 2474
 Warning extension MultipleStringLiteralsExtended The String "fmWithProperties" appears 4 times in the file. 2482
 Warning extension MultipleStringLiteralsExtended The String "fmGeneric" appears 3 times in the file. 2490
 Warning extension MultipleStringLiteralsExtended The String "fmWithArgs" appears 4 times in the file. 2501
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2505
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2506
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 2540
 Warning extension MultipleStringLiteralsExtended The String "bonanza!" appears 3 times in the file. 2553
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 2613
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 2616
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 2623
 Warning extension MultipleStringLiteralsExtended The String "user1" appears 2 times in the file. 2640
 Warning extension MultipleStringLiteralsExtended The String "abs" appears 2 times in the file. 2656
 Warning extension MultipleStringLiteralsExtended The String "A" appears 3 times in the file. 2671
 Warning extension MultipleStringLiteralsExtended The String "B" appears 3 times in the file. 2671
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 3112

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/FactoryBeanLookupTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "&fooFactory" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "fooFactory" appears 2 times in the file. 66

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/FactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "propertyPlaceholderConfigurer" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "alpha" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "beta" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "gamma" appears 2 times in the file. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 269

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/Spr5475Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "noArgFactory" appears 3 times in the file. 26
 Warning extension MultipleStringLiteralsExtended The String "Check that a method with the specified name and arguments exists and that it is static." appears 3 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "bogusArg1" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "bogusArg2" appears 2 times in the file. 38

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/access/SingletonBeanFactoryLocatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a.qualified.name.of.some.sort" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "another.qualified.name" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "beans1.bean1" appears 16 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "was beans1.bean1" appears 12 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "a.qualified.name.which.is.an.alias" appears 4 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/annotation/AnnotationBeanWiringInfoResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Must *not* be returning null for an @Configurable class instance even when autowiring is NO" appears 2 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 40 times in the file. 73
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean" appears 108 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "nestedTestBean" appears 6 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 14 times in the file. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension MultipleStringLiteralsExtended The String "indexedTestBean" appears 7 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "nestedTestBean1" appears 11 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "nestedTestBean2" appears 10 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "testBean1" appears 14 times in the file. 687
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 692
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 694
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 695
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 699
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 700
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 701
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 702
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 721
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 722
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 723
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 724
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 728
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 729
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 730
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 731
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 748
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 749
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 754
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 755
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 794
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 795
 Warning extension MultipleStringLiteralsExtended The String "optional" appears 12 times in the file. 886
 Warning extension MultipleStringLiteralsExtended The String "customBean" appears 24 times in the file. 890
 Warning extension MultipleStringLiteralsExtended The String "expected BeanCreationException; multiple beans of dependency type available" appears 4 times in the file. 940
 Warning extension MultipleStringLiteralsExtended The String "factoryBeanDependentBean" appears 2 times in the file. 1160
 Warning extension MultipleStringLiteralsExtended The String "stringRepo" appears 19 times in the file. 1185
 Warning extension MultipleStringLiteralsExtended The String "integerRepo" appears 15 times in the file. 1187
 Warning extension MultipleStringLiteralsExtended The String "mocksControl" appears 5 times in the file. 1282
 Warning extension MultipleStringLiteralsExtended The String "createMock" appears 3 times in the file. 1285
 Warning extension MultipleStringLiteralsExtended The String "repo" appears 12 times in the file. 1324
 Warning extension MultipleStringLiteralsExtended The String "repoFactoryBean" appears 2 times in the file. 1354
 Warning extension MultipleStringLiteralsExtended The String "&repoFactoryBean" appears 2 times in the file. 1357
 Warning extension MultipleStringLiteralsExtended The String "genericRepo" appears 5 times in the file. 1558
 Warning extension MultipleStringLiteralsExtended The String "simpleRepo" appears 5 times in the file. 1588
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 1679
 Warning extension MultipleStringLiteralsExtended The String "bean1" appears 10 times in the file. 1680
 Warning extension MultipleStringLiteralsExtended The String "bean2" appears 10 times in the file. 1681
 Warning extension MultipleStringLiteralsExtended The String "bean2a" appears 2 times in the file. 1716
 Warning extension MultipleStringLiteralsExtended The String "bean2b" appears 2 times in the file. 1717
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 1725
 Warning extension MultipleStringLiteralsExtended The String "bean3" appears 2 times in the file. 1753
 Warning extension MultipleStringLiteralsExtended The String "Already called" appears 2 times in the file. 1783
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 1807
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1809
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 1811
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1888
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1933
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1935
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 1953
 Warning extension MultipleStringLiteralsExtended The String "somethingMoreGeneric_" appears 3 times in the file. 2716

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/annotation/InjectAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 56 times in the file. 61
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean" appears 76 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "nestedTestBean" appears 4 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 12 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "testBean1" appears 10 times in the file. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "factoryBeanDependentBean" appears 2 times in the file. 563
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 601
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 615
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 629
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 643
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 657
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 671
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 685
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 699
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 713
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 727
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 741
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 783
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 835
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 880
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 882
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 900

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/annotation/LookupAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abstractBean" appears 6 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "haha" appears 6 times in the file. 62

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "favouriteColour" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Blue" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "jobTitle" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Grand Poobah" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 13 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 4 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "Property" appears 3 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "age" appears 5 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "24" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "create" appears 3 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension MultipleStringLiteralsExtended The String "testBeanFactory" appears 2 times in the file. 175

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/CustomEditorConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "2.12.1975" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 2 times in the file. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 4 times in the file. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 115

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/CustomScopeConfigurerTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 103

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/FieldRetrievingFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "java.sql.Connection.TRANSACTION_SERIALIZABLE" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "TRANSACTION_SERIALIZABLE" appears 2 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 90
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 101
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 112

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/MethodInvokingFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "method1" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "staticMethod1" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension MultipleStringLiteralsExtended The String "voidRetvalMethod" appears 2 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension MultipleStringLiteralsExtended The String "supertypes" appears 5 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "supertypes2" appears 2 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "intArgument" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "5" appears 4 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "intArguments" appears 6 times in the file. 311
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 312
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 318
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 318
 Warning extension MultipleStringLiteralsExtended The String "10" appears 3 times in the file. 318
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 324
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 330
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 336
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 342

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/ObjectFactoryCreatingFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "factoryTestBean" appears 2 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension MultipleStringLiteralsExtended The String "providerTestBean" appears 2 times in the file. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/PropertiesFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "99" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "tb.array[0].age" appears 10 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "spring" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "framework" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Don" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Mattingly" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "spider" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "man" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "bat" appears 2 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/PropertyPathFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "otb.spouse" appears 4 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "tb.spouse" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "propertyPath3" appears 3 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "tb.spouse.spouse" appears 2 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/PropertyPlaceholderConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "${" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "}" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "${my.name}" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "otherKey" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "systemValue" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "p1Bean" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "p2Bean" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "${key2}" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "systemKey1Value" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "customNull" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "my.name" appears 2 times in the file. 231
 Warning extension ReturnCountExtended Return count for 'getModifiableSystemEnvironment' method is 2 (max allowed is 1). 243
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 256
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 266
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 277
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 288

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/PropertyResourceConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 9 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 11 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "tb1.age" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "99" appears 14 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "tb2.name" appears 6 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "test" appears 20 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "tb2.age" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 53 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "tb.list[1].name" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "my.tb" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 3 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "argh" appears 4 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "hgra" appears 3 times in the file. 255
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "age" appears 8 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "${age}" appears 7 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "name" appears 11 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "name${var}${var}${" appears 2 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "${ref}" appears 10 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "someMap" appears 3 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "parent1" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "${os.name}" appears 5 times in the file. 355
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 357
 Warning extension MultipleStringLiteralsExtended The String "na${age}me" appears 2 times in the file. 358
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 362
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 368
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "country" appears 4 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "key3" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "98" appears 3 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "var" appears 2 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 3 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "m" appears 2 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "mykey4" appears 2 times in the file. 391
 Warning extension MultipleStringLiteralsExtended The String "namemyvarmyvar${" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "os.name" appears 7 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "na98me" appears 2 times in the file. 409
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 414
 Warning extension MultipleStringLiteralsExtended The String "myos" appears 3 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "touchy" appears 7 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanDefinitionStoreException" appears 3 times in the file. 483
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 504
 Warning extension MultipleStringLiteralsExtended The String "myname" appears 2 times in the file. 558
 Warning extension MultipleStringLiteralsExtended The String "${alias}" appears 2 times in the file. 569
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 4 times in the file. 573
 Warning extension MultipleStringLiteralsExtended The String "${test}" appears 2 times in the file. 624
 Warning extension MultipleStringLiteralsExtended The String "mytest" appears 7 times in the file. 628
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 2 times in the file. 654
 Warning extension MultipleStringLiteralsExtended The String "${myName}" appears 2 times in the file. 675
 Warning extension MultipleStringLiteralsExtended The String "${myAge}" appears 3 times in the file. 676
 Warning extension MultipleStringLiteralsExtended The String "${myTouchy}" appears 2 times in the file. 677
 Warning extension MultipleStringLiteralsExtended The String "myAge" appears 3 times in the file. 682
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 6 times in the file. 684
 Warning extension MultipleStringLiteralsExtended The String "myNameValue" appears 6 times in the file. 684
 Warning extension MultipleStringLiteralsExtended The String "myTouchy" appears 12 times in the file. 685
 Warning extension MultipleStringLiteralsExtended The String "myTouchyValue" appears 3 times in the file. 685
 Warning extension MultipleStringLiteralsExtended The String "myOtherTouchyValue" appears 6 times in the file. 686
 Warning extension MultipleStringLiteralsExtended The String "mySystemPath" appears 7 times in the file. 711
 Warning extension MultipleStringLiteralsExtended The String "myUserPath" appears 4 times in the file. 712
 Warning extension MultipleStringLiteralsExtended The String "mySystemPath/myotherpath" appears 2 times in the file. 743
 Warning extension MultipleStringLiteralsExtended The String "myUserPath/myotherpath" appears 2 times in the file. 744
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 762
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 766
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 808
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 810

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testService" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "factory" appears 12 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "serviceLocatorInterface" appears 10 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "testServiceInstance2" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "factory2" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "factory3" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Must fail on more than one matching type" appears 4 times in the file. 83
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 84
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 90
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 96
 Warning extension MultipleStringLiteralsExtended The String "serviceLocatorExceptionClass" appears 3 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 141
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 163
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 199
 Warning extension MultipleStringLiteralsExtended The String "testService1" appears 2 times in the file. 201
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 235
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 240
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 248
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 255
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 263
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 275

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/SimpleScopeTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "myScope" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "usesScope" appears 3 times in the file. 78

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/YamlMapFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "non-exsitent-file.yml" appears 2 times in the file. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51
 Warning extension MultipleStringLiteralsExtended The String "foo:\n spam: bar" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "key1.key2" appears 2 times in the file. 104
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 108

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/YamlProcessorTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 42
 Warning extension MultipleStringLiteralsExtended The String "foo: bar\nbar:\n spam: bucket" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "bucket" appears 4 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "bar.spam" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/config/YamlPropertiesFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo: bar\nspam:\n foo: baz" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 17 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "spam.foo" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 6 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "spam" appears 9 times in the file. 76
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 89
 Warning extension MultipleStringLiteralsExtended The String "bag" appears 9 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "bad" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "one: two\n---\nfoo: bar\nspam: baz\n---\nfoo: bag\nspam: bad" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "one" appears 3 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "two" appears 3 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "foo[1]" appears 2 times in the file. 217

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/ConstructorArgumentEntryTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 29

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/FailFastProblemReporterTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 33
 Warning extension MultipleStringLiteralsExtended The String "VGER" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "here" appears 2 times in the file. 36

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/NullSourceExtractorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The contract of NullSourceExtractor states that the extraction *always* return null" appears 2 times in the file. 33

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/PassThroughSourceExtractorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The contract of PassThroughSourceExtractor states that the supplied " appears 2 times in the file. 35

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/PropertyEntryTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 29
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 39

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/serviceloader/ServiceLoaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "serviceType" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "service" appears 6 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/AutowireUtilsTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "createNamedProxy" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 2 times in the file. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/BeanDefinitionBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "create" appears 4 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/BeanDefinitionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "request" appears 4 times in the file. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "age" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "99" appears 3 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "int" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension MultipleStringLiteralsExtended The String "bd" appears 3 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/BeanFactoryGenericsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension MultipleStringLiteralsExtended The String "4" appears 25 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "5" appears 18 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "genericBean" appears 53 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:8080" appears 18 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:9090" appears 11 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "resource1" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "resource2" appears 3 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension MultipleStringLiteralsExtended The String "6" appears 18 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "7" appears 11 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "genericBeanTests.xml" appears 7 times in the file. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension MultipleStringLiteralsExtended The String "integer1" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "integer2" appears 2 times in the file. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 281
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 304
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 323
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "0" appears 6 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "2" appears 10 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 325
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 326
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 349
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 372
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 392
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 415
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 416
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension MultipleStringLiteralsExtended The String "createInstance" appears 7 times in the file. 437
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 439
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 457
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 460
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 469
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 481
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 484
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 505
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 525
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 528
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 549
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 573
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 574
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 577
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension MultipleStringLiteralsExtended The String "mock" appears 8 times in the file. 668
 Warning extension MultipleStringLiteralsExtended The String "mocksControl" appears 8 times in the file. 694
 Warning extension MultipleStringLiteralsExtended The String "createMock" appears 4 times in the file. 698
 Warning extension MultipleStringLiteralsExtended The String "doubleStore" appears 2 times in the file. 777
 Warning extension MultipleStringLiteralsExtended The String "floatStore" appears 2 times in the file. 778
 Warning extension MultipleStringLiteralsExtended The String "numberBean" appears 2 times in the file. 779
 Warning extension MultipleStringLiteralsExtended The String "store1" appears 2 times in the file. 792
 Warning extension MultipleStringLiteralsExtended The String "store2" appears 2 times in the file. 793
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'UrlSet' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 832
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'UrlSet' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 836

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/DefaultSingletonBeanRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 9 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 4 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "b" appears 9 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "c" appears 8 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/DefinitionMetadataEqualsHashCodeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should be equal" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 9 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 92

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/LookupMethodTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abstractBean" appears 5 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "haha" appears 6 times in the file. 57

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/ManagedListTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 6 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "two" appears 3 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "merge() obviously did not work." appears 3 times in the file. 37

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/ManagedMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 8 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "two" appears 6 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "three" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "merge() obviously did not work." appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "fork" appears 2 times in the file. 82

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/ManagedPropertiesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 8 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "two" appears 6 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "three" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "merge() obviously did not work." appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "fork" appears 2 times in the file. 82

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/ManagedSetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 6 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "two" appears 3 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "merge() obviously did not work." appears 3 times in the file. 37

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 42

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/QualifierAnnotationAutowireBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 76
 Warning extension MultipleStringLiteralsExtended The String "qualified" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "nonqualified" appears 3 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 136
 Warning extension MultipleStringLiteralsExtended The String "tpb" appears 3 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/Spr8954Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "&foo" appears 9 times in the file. 57

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/support/security/CallbacksSecurityTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 122
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 282
 Warning extension MultipleStringLiteralsExtended The String "destroy" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "expected security exception" appears 10 times in the file. 344
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 345
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension MultipleStringLiteralsExtended The String "security.destroy" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "spring-factory" appears 2 times in the file. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 451
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 476
 Warning extension MultipleStringLiteralsExtended The String "user1" appears 4 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "trusted-spring-factory" appears 3 times in the file. 529

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/wiring/BeanConfigurerSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Harriet Wheeler" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Bean is evidently not being configured (for some reason)" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "David Gavurin" appears 4 times in the file. 82

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/wiring/BeanWiringInfoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Must have thrown an IllegalArgumentException by this point (out-of-range argument)." appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/AbstractBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 15 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "roderick" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "rod.name is Rod" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "rod.age is 31" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "lifecycle" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Rod bean is a TestBean" appears 4 times in the file. 99
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't throw exception on getting valid instance" appears 4 times in the file. 106
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 115
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't throw exception on getting valid instance with matching class" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "Rod bean is not of type BeanFactory; getBeanInstance(rod, BeanFactory.class) should throw BeanNotOfRequiredTypeException" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Exception has correct bean name" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Exception requiredType must be BeanFactory.class" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Exception actualType as TestBean.class" appears 2 times in the file. 130
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 133
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 144
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 166
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 180
 Warning extension MultipleStringLiteralsExtended The String "kathy" appears 2 times in the file. 187
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension MultipleStringLiteralsExtended The String "Mr Squiggle" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "typeMismatch" appears 2 times in the file. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension MultipleStringLiteralsExtended The String "&singletonFactory" appears 4 times in the file. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension MultipleStringLiteralsExtended The String "singletonFactory" appears 4 times in the file. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension MultipleStringLiteralsExtended The String "prototypeFactory" appears 3 times in the file. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't permit factory get on normal bean" appears 2 times in the file. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 322

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/AbstractListableBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "We should have " appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String " beans for class org.springframework.tests.sample.beans.TestBean, not " appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Should have 2 factories, not " appears 2 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/AutowireWithExclusionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "autowire-with-exclusion.xml" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "rob" appears 7 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "sally" appears 6 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "props1" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "rob2" appears 8 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "name=props3" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "props3" appears 5 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "autowire-constructor-with-exclusion.xml" appears 2 times in the file. 141

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/BeanNameGenerationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/CollectionMergingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Incorrect size" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Rod Johnson" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Juergen Hoeller" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "Sally Greenwood" appears 2 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "Sally" appears 8 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "Rob" appears 10 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 4 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Eva" appears 4 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/CollectionsWithDefaultTypesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Value type is incorrect" appears 3 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/ConstructorDependenciesBean.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 31

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/CountingFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 42

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/DefaultLifecycleMethodsTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 61

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/DelegatingEntityResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 31
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 36
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 41

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/DuplicateBeanIdTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 51

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/EventPublicationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/FactoryMethodTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "factory-methods.xml" appears 18 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "defaultInstance" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "default" appears 7 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "setterString" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "testBeanOnly" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "full" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "gotcha" appears 2 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "defaultPrototype" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "testBeanOnlyPrototype" appears 6 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "fullPrototype" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "externalFactoryMethodWithoutArgs" appears 5 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "externalFactoryMethodWithArgs" appears 5 times in the file. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension MultipleStringLiteralsExtended The String "instanceFactoryMethodWithoutArgs" appears 2 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "instanceFactory" appears 2 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "invalidPrototype" appears 2 times in the file. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension MultipleStringLiteralsExtended The String "nonExisting(TestBean)" appears 2 times in the file. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension MultipleStringLiteralsExtended The String "arg1" appears 3 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "arg2" appears 3 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 2 times in the file. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension MultipleStringLiteralsExtended The String "listInstance" appears 7 times in the file. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 398

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/FactoryMethods.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 80
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 94

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/MetadataAttachmentTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 42

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/NestedBeansElementAttributeRecursionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "charlie" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "delta" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "echo" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "foxtrot" appears 2 times in the file. 73

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/NestedBeansElementTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 28
 Warning extension MultipleStringLiteralsExtended The String "devOnlyBean" appears 2 times in the file. 42

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/ProfileXmlBeanDefinitionTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 64
 Warning extension MultipleStringLiteralsExtended The String "custom-default" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 146

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/SchemaValidationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "invalidPerSchema.xml" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "Should not be able to parse a file with errors" appears 2 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/SimpleConstructorNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "simpleConstructorNamespaceHandlerTests.xml" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "name-value" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "some-name" appears 2 times in the file. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 91

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/SimplePropertyNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "simplePropertyNamespaceHandlerTests.xml" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 43
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 60

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/UtilNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "min" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "myProperties" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Incorrect BeanDefinition" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "Incorrect property value" appears 17 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 13 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 20 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 9 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "simpleMap" appears 2 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension MultipleStringLiteralsExtended The String "scopedMap" appears 2 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "simpleList" appears 2 times in the file. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension MultipleStringLiteralsExtended The String "scopedList" appears 2 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension MultipleStringLiteralsExtended The String "simpleSet" appears 2 times in the file. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String "scopedSet" appears 2 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension MultipleStringLiteralsExtended The String "nestedCollectionsBean" appears 2 times in the file. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension MultipleStringLiteralsExtended The String "nestedShortcutCollections" appears 2 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension MultipleStringLiteralsExtended The String "nestedCustomTagBean" appears 2 times in the file. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension MultipleStringLiteralsExtended The String "circularCollectionBeansBean" appears 3 times in the file. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 8 times in the file. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension MultipleStringLiteralsExtended The String "myScopedProperties" appears 2 times in the file. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension MultipleStringLiteralsExtended The String "bar2" appears 2 times in the file. 361
 Warning extension MultipleStringLiteralsExtended The String "local2" appears 3 times in the file. 375

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/XmlBeanCollectionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "jenny" appears 24 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "david" appears 6 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "verbose" appears 4 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension MultipleStringLiteralsExtended The String "First friend must be jen, not " appears 3 times in the file. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "pJenny" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "pRod" appears 2 times in the file. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension MultipleStringLiteralsExtended The String "Jen not same instance" appears 2 times in the file. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "Dave not same instance" appears 2 times in the file. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 20 times in the file. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension MultipleStringLiteralsExtended The String "pMixedMap" appears 2 times in the file. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension MultipleStringLiteralsExtended The String "Not same instance" appears 2 times in the file. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension MultipleStringLiteralsExtended The String "Map element 'jenny' should be equal to jenny bean, not " appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "jen" appears 4 times in the file. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension MultipleStringLiteralsExtended The String "props" appears 2 times in the file. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 317
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "TWO" appears 4 times in the file. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 446

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/XmlBeanDefinitionReaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test.xml" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanDefinitionStoreException (can't determine validation mode)" appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 3 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension MultipleStringLiteralsExtended The String "aliased" appears 4 times in the file. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "youralias" appears 2 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/XmlListableBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "father" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Roderick" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "aliased" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "myalias" appears 3 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "youralias" appears 2 times in the file. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "multiAliased" appears 3 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 3 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 3 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "alias3" appears 3 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "alias4" appears 3 times in the file. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension MultipleStringLiteralsExtended The String "aliasWithoutId1" appears 3 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "aliasWithoutId2" appears 3 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "aliasWithoutId3" appears 3 times in the file. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension MultipleStringLiteralsExtended The String "#0" appears 2 times in the file. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension MultipleStringLiteralsExtended The String "Bean from root context" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "&singletonFactory" appears 2 times in the file. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension MultipleStringLiteralsExtended The String "prototypeReferencer" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "Not referencing same bean twice" appears 5 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "kerry" appears 2 times in the file. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension MultipleStringLiteralsExtended The String "Touchy is empty" appears 2 times in the file. 225

spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/xml/support/DefaultNamespaceHandlerResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://www.springframework.org/schema/util" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Handler should not be null." appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "Incorrect handler loaded" appears 2 times in the file. 40
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 54
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 58
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 70
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 80

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/BeanInfoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 42

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/ByteArrayPropertyEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/CharArrayPropertyEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/CustomCollectionEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "0, 1, 2" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "There must be 1 element in the converted collection" appears 2 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/CustomEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Kerry_34" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "touchy" appears 10 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "valid" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "spouse is non-null" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "spouse name is Kerry and age is 34" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 5 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "value" appears 12 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "prefixvalue" appears 12 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 5 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "bool1" appears 13 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "true" appears 7 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "Correct bool1 value" appears 12 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "false" appears 7 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "on" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "off" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 3 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "no" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeansException" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "bool2" appears 23 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "Correct bool2 value" appears 23 times in the file. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension MultipleStringLiteralsExtended The String "short1" appears 4 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "short2" appears 4 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "int1" appears 4 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "7" appears 4 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "int2" appears 4 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "8" appears 6 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "long1" appears 8 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "5" appears 11 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "long2" appears 8 times in the file. 335
 Warning extension MultipleStringLiteralsExtended The String "6" appears 9 times in the file. 335
 Warning extension MultipleStringLiteralsExtended The String "bigInteger" appears 4 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "float1" appears 4 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "7.1" appears 5 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "float2" appears 4 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "8.1" appears 5 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "double1" appears 4 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "5.1" appears 3 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "double2" appears 4 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "6.1" appears 5 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "bigDecimal" appears 7 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "4.5" appears 5 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "Correct short1 value" appears 4 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "Correct short2 value" appears 4 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "Correct int1 value" appears 4 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "Correct int2 value" appears 4 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "Correct long1 value" appears 8 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "Correct long2 value" appears 8 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "Correct bigInteger value" appears 4 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "Correct float1 value" appears 4 times in the file. 357
 Warning extension MultipleStringLiteralsExtended The String "Correct float2 value" appears 4 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "Correct double1 value" appears 4 times in the file. 361
 Warning extension MultipleStringLiteralsExtended The String "Correct double2 value" appears 4 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "Correct bigDecimal value" appears 4 times in the file. 365
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 426
 Warning extension MultipleStringLiteralsExtended The String "myvalue" appears 4 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "myChar" appears 4 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "c" appears 4 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "\u0041" appears 2 times in the file. 513
 Warning extension MultipleStringLiteralsExtended The String "M" appears 2 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "myCharacter" appears 5 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 539
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 546
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 565
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 586
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.tests.sample.beans.TestBean[]" appears 2 times in the file. 595
 Warning extension MultipleStringLiteralsExtended The String "myfile.txt" appears 3 times in the file. 626
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 633
 Warning extension MultipleStringLiteralsExtended The String "C:/myfile.txt" appears 3 times in the file. 646
 Warning extension MultipleStringLiteralsExtended The String "/myfile.txt" appears 3 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String "en_CA" appears 2 times in the file. 660
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 735
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 736
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 740
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 753
 Warning extension MultipleStringLiteralsExtended The String "test" appears 20 times in the file. 792
 Warning extension MultipleStringLiteralsExtended The String " test " appears 4 times in the file. 795
 Warning extension MultipleStringLiteralsExtended The String "\r\n\f" appears 2 times in the file. 825
 Warning extension MultipleStringLiteralsExtended The String "te\ns\ft" appears 2 times in the file. 826
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 867
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 868
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 869
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 9 times in the file. 869
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 870
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 9 times in the file. 870
 Warning extension MultipleStringLiteralsExtended The String "name0" appears 14 times in the file. 871
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 13 times in the file. 872
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 13 times in the file. 873
 Warning extension MultipleStringLiteralsExtended The String "name3" appears 14 times in the file. 874
 Warning extension MultipleStringLiteralsExtended The String "name4" appears 17 times in the file. 875
 Warning extension MultipleStringLiteralsExtended The String "name5" appears 16 times in the file. 876
 Warning extension MultipleStringLiteralsExtended The String "array[0].name" appears 10 times in the file. 877
 Warning extension MultipleStringLiteralsExtended The String "array[1].name" appears 10 times in the file. 878
 Warning extension MultipleStringLiteralsExtended The String "list[0].name" appears 10 times in the file. 879
 Warning extension MultipleStringLiteralsExtended The String "list[1].name" appears 10 times in the file. 880
 Warning extension MultipleStringLiteralsExtended The String "map[key1].name" appears 7 times in the file. 881
 Warning extension MultipleStringLiteralsExtended The String "map[key2].name" appears 4 times in the file. 882
 Warning extension MultipleStringLiteralsExtended The String "map['key1'].name" appears 3 times in the file. 883
 Warning extension MultipleStringLiteralsExtended The String "map[\"key2\"].name" appears 3 times in the file. 884
 Warning extension MultipleStringLiteralsExtended The String "map['key2'].name" appears 6 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "prefixname5" appears 2 times in the file. 894
 Warning extension MultipleStringLiteralsExtended The String "prefixname4" appears 2 times in the file. 895
 Warning extension MultipleStringLiteralsExtended The String "prefixname3" appears 2 times in the file. 896
 Warning extension MultipleStringLiteralsExtended The String "prefixname2" appears 2 times in the file. 897
 Warning extension MultipleStringLiteralsExtended The String "prefixname1" appears 2 times in the file. 898
 Warning extension MultipleStringLiteralsExtended The String "prefixname0" appears 2 times in the file. 899
 Warning extension MultipleStringLiteralsExtended The String "map[\"key1\"].name" appears 3 times in the file. 904
 Warning extension MultipleStringLiteralsExtended The String "array" appears 6 times in the file. 915
 Warning extension MultipleStringLiteralsExtended The String "list" appears 9 times in the file. 921
 Warning extension MultipleStringLiteralsExtended The String "map" appears 5 times in the file. 927
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 934
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 935
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 936
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 937
 Warning extension MultipleStringLiteralsExtended The String "arrayname5" appears 5 times in the file. 961
 Warning extension MultipleStringLiteralsExtended The String "arrayname4" appears 4 times in the file. 962
 Warning extension MultipleStringLiteralsExtended The String "listname3" appears 4 times in the file. 963
 Warning extension MultipleStringLiteralsExtended The String "listname2" appears 5 times in the file. 964
 Warning extension MultipleStringLiteralsExtended The String "mapname1" appears 5 times in the file. 965
 Warning extension MultipleStringLiteralsExtended The String "mapname0" appears 4 times in the file. 966
 Warning extension MultipleStringLiteralsExtended The String "array0" appears 2 times in the file. 982
 Warning extension MultipleStringLiteralsExtended The String "array1" appears 2 times in the file. 988
 Warning extension MultipleStringLiteralsExtended The String "list0" appears 2 times in the file. 994
 Warning extension MultipleStringLiteralsExtended The String "list1" appears 3 times in the file. 1000
 Warning extension MultipleStringLiteralsExtended The String "mapkey1" appears 2 times in the file. 1006
 Warning extension MultipleStringLiteralsExtended The String "mapkey2" appears 2 times in the file. 1012
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1019
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1020
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1021
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1022
 Warning extension MultipleStringLiteralsExtended The String "array0name5" appears 2 times in the file. 1046
 Warning extension MultipleStringLiteralsExtended The String "array1name4" appears 2 times in the file. 1047
 Warning extension MultipleStringLiteralsExtended The String "list0name3" appears 2 times in the file. 1048
 Warning extension MultipleStringLiteralsExtended The String "list1name2" appears 2 times in the file. 1049
 Warning extension MultipleStringLiteralsExtended The String "mapkey1name1" appears 2 times in the file. 1050
 Warning extension MultipleStringLiteralsExtended The String "mapkey2name0" appears 2 times in the file. 1051
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1065
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1066
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1067
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1068
 Warning extension MultipleStringLiteralsExtended The String "array[0].nestedIndexedBean.array[0].name" appears 5 times in the file. 1115
 Warning extension MultipleStringLiteralsExtended The String "array[1].nestedIndexedBean.array[1].name" appears 4 times in the file. 1116
 Warning extension MultipleStringLiteralsExtended The String "list[0].nestedIndexedBean.list[0].name" appears 4 times in the file. 1117
 Warning extension MultipleStringLiteralsExtended The String "list[1].nestedIndexedBean.list[1].name" appears 4 times in the file. 1118
 Warning extension MultipleStringLiteralsExtended The String "map[key1].nestedIndexedBean.map[\"key1\"].name" appears 2 times in the file. 1127
 Warning extension MultipleStringLiteralsExtended The String "map['key2'].nestedIndexedBean.map[key2].name" appears 2 times in the file. 1128
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1151
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1152
 Warning extension MultipleStringLiteralsExtended The String "array[0]" appears 3 times in the file. 1234
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 1234
 Warning extension MultipleStringLiteralsExtended The String "array[1]" appears 3 times in the file. 1235
 Warning extension MultipleStringLiteralsExtended The String "b" appears 7 times in the file. 1235
 Warning extension MultipleStringLiteralsExtended The String "list[0]" appears 5 times in the file. 1236
 Warning extension MultipleStringLiteralsExtended The String "list[1]" appears 3 times in the file. 1237
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 1237
 Warning extension MultipleStringLiteralsExtended The String "map[key1]" appears 3 times in the file. 1238
 Warning extension MultipleStringLiteralsExtended The String "e" appears 2 times in the file. 1238
 Warning extension MultipleStringLiteralsExtended The String "map['key2']" appears 2 times in the file. 1239
 Warning extension MultipleStringLiteralsExtended The String "f" appears 2 times in the file. 1239
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1343
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 1366
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 1366
 Warning extension MultipleStringLiteralsExtended The String "list.age" appears 3 times in the file. 1376
 Warning extension MultipleStringLiteralsExtended The String "list[0].age" appears 2 times in the file. 1383
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 1410
 Warning extension MultipleStringLiteralsExtended The String "java.lang.String,java.util.HashMap" appears 2 times in the file. 1420
 Warning extension MultipleStringLiteralsExtended The String "java.lang.String[],java.util.Map[],int[],float[][][]" appears 2 times in the file. 1433
 Warning extension MultipleStringLiteralsExtended The String "Invalid Charset conversion" appears 2 times in the file. 1475
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 1486

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/FileEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String ".class" appears 2 times in the file. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/InputStreamEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension MultipleStringLiteralsExtended The String "classpath:" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String ".class" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 59

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/PropertiesEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo=bar" appears 4 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "me=mi" appears 7 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "contains two entries" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "me" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "mi" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo=bar\n" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "me=mi\n" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "x='y=z'" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "contains three entries" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "x=x\n" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "foo is bar" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "two" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "three" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/ResourceBundleEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Returned ResourceBundle was null (must not be for valid setAsText(..) call)." appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Returned object was not a ResourceBundle (must be for valid setAsText(..) call)." appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 103
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 109
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 115

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/StringArrayPropertyEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "0,1,2" appears 4 times in the file. 29
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 32
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String " 0,1 , 2 " appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "0:1:2" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/URIEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension MultipleStringLiteralsExtended The String "http://www.springframework.org" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension MultipleStringLiteralsExtended The String "classpath" appears 3 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/spaces%20and%20%E2%82%AC" appears 3 times in the file. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/URLEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 66
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86

spring-framework/spring-beans/src/test/java/org/springframework/beans/propertyeditors/ZoneIdEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "America/Chicago" appears 3 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "The zone ID should not be null." appears 2 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "The zone ID is not correct." appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "The text version is not correct." appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "America/Los_Angeles" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "America/New_York" appears 2 times in the file. 58

spring-framework/spring-beans/src/test/java/org/springframework/beans/support/PagedListHolderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Correct source" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Correct number of elements" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Correct number of pages" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Correct page size" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Correct page number" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "First page" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Last page" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Correct first element" appears 7 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Correct page list size" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Correct page list contents" appears 17 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Correct last element" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 113

spring-framework/spring-beans/src/test/java/org/springframework/beans/support/PropertyComparatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "nickName" appears 2 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension MultipleStringLiteralsExtended The String "lastName" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "macy" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "grayspots" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "biscuit" appears 2 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "firstName" appears 2 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96

spring-framework/spring-beans/src/test/java/org/springframework/tests/beans/CollectingReaderEventListener.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 82

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/DerivedTestBean.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension OverridableMethodInConstructor Overridable method 'setBeanName' is called in constructor body. 46

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/DummyFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 70
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 73

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/GenericBean.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 265

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/HasMap.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 92
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 96

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/IndexedTestBean.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'populate' is called in constructor body. 56

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/NestedTestBean.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setCompany' is called in constructor body. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 37

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/Pet.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 54

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/TestBean.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 213
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 475
 Warning extension LogicConditionNeedOptimization Condition with && at line 475 position 58 need optimization. All method calls are advised to move to end of logic expression. 475

spring-framework/spring-beans/src/test/java/org/springframework/tests/sample/beans/factory/DummyFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 74

spring-framework/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheCache.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102

spring-framework/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88

spring-framework/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheFactoryBean.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 76
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 102
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 244

spring-framework/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 169

spring-framework/spring-context-support/src/main/java/org/springframework/cache/guava/GuavaCache.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171

spring-framework/spring-context-support/src/main/java/org/springframework/cache/guava/GuavaCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension OverridableMethodInConstructor Overridable method 'setCacheNames' is called in constructor body. 79

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCache.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractCacheInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractFallbackJCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension ReturnCountExtended Return count for 'getCacheOperation' method is 3 (max allowed is 1). 58
 Warning extension ReturnCountExtended Return count for 'computeCacheOperation' method is 3 (max allowed is 1). 84

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractJCacheKeyOperation.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractJCacheOperation.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 185
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 189

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AnnotationJCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findCacheOperation' method is 5 (max allowed is 1). 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 203

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/CacheResultInterceptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 43
 Warning extension ReturnCountExtended Return count for 'rewriteCallStack' method is 2 (max allowed is 1). 121
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 150

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/CacheResultOperation.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 50

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/DefaultJCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 160
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 164

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheAspectSupport.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 126

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 54
 Warning extension AvoidHidingCauseException Cause exception 'th' was lost. 64

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperationSourcePointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/KeyGeneratorAdapter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cacheOperationSource must not be null." appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "KeyGenerator must not be null" appears 2 times in the file. 38
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80

spring-framework/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/SimpleExceptionCacheResolver.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 54

spring-framework/spring-context-support/src/main/java/org/springframework/cache/transaction/AbstractTransactionSupportingCacheManager.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58

spring-framework/spring-context-support/src/main/java/org/springframework/mail/MailSendException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 119
 Warning extension MultipleStringLiteralsExtended The String ") are:" appears 3 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "Failed message " appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "; message exception details (" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 173

spring-framework/spring-context-support/src/main/java/org/springframework/mail/SimpleMailMessage.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension MultipleStringLiteralsExtended The String "; " appears 7 times in the file. 217
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 237
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 249

spring-framework/spring-context-support/src/main/java/org/springframework/mail/javamail/InternetAddressEditor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-context-support/src/main/java/org/springframework/mail/javamail/JavaMailSenderImpl.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 301
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 333
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 356
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 370
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 388
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 400
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 411
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 414
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 435
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 436
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 447

spring-framework/spring-context-support/src/main/java/org/springframework/mail/javamail/MimeMailMessage.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 63

spring-framework/spring-context-support/src/main/java/org/springframework/mail/javamail/MimeMessageHelper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 202
 Warning extension OverridableMethodInConstructor Overridable method 'getDefaultEncoding' is called in constructor body. 202
 Warning extension OverridableMethodInConstructor Overridable method 'getDefaultFileTypeMap' is called in constructor body. 203
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 247
 Warning extension OverridableMethodInConstructor Overridable method 'createMimeMultiparts' is called in constructor body. 290
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 291
 Warning extension OverridableMethodInConstructor Overridable method 'getDefaultEncoding' is called in constructor body. 291
 Warning extension OverridableMethodInConstructor Overridable method 'getDefaultFileTypeMap' is called in constructor body. 292
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 375
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 474
 Warning extension MultipleStringLiteralsExtended The String "From address must not be null" appears 3 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "Reply-to address must not be null" appears 3 times in the file. 554
 Warning extension MultipleStringLiteralsExtended The String "To address must not be null" appears 5 times in the file. 573
 Warning extension MultipleStringLiteralsExtended The String "To address array must not be null" appears 2 times in the file. 579
 Warning extension MultipleStringLiteralsExtended The String "Cc address must not be null" appears 5 times in the file. 618
 Warning extension MultipleStringLiteralsExtended The String "Cc address array must not be null" appears 2 times in the file. 624
 Warning extension MultipleStringLiteralsExtended The String "Bcc address must not be null" appears 5 times in the file. 663
 Warning extension MultipleStringLiteralsExtended The String "Bcc address array must not be null" appears 2 times in the file. 669
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 713
 Warning extension MultipleStringLiteralsExtended The String "DataSource must not be null" appears 2 times in the file. 881
 Warning extension MultipleStringLiteralsExtended The String "File must not be null" appears 2 times in the file. 909
 Warning extension MultipleStringLiteralsExtended The String "InputStreamSource must not be null" appears 2 times in the file. 966
 Warning extension MultipleStringLiteralsExtended The String "Passed-in Resource contains an open stream: invalid argument. " appears 2 times in the file. 969
 Warning extension MultipleStringLiteralsExtended The String "JavaMail requires an InputStreamSource that creates a fresh stream for every call." appears 2 times in the file. 970

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/commonj/DelegatingWork.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 72

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/commonj/ScheduledTimerListener.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setRunnable' is called in constructor body. 103
 Warning extension OverridableMethodInConstructor Overridable method 'setRunnable' is called in constructor body. 113
 Warning extension OverridableMethodInConstructor Overridable method 'setRunnable' is called in constructor body. 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 204

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/commonj/TimerManagerAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 147

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/commonj/TimerManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 143

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/commonj/TimerManagerTaskScheduler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 146

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/commonj/WorkManagerTaskExecutor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/AdaptableJobFactory.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 44

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/LocalDataSourceJobStore.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 123

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 168
 Warning extension MultipleStringLiteralsExtended The String "BeanFactory must be set when using 'targetBeanName'" appears 2 times in the file. 198
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 225
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 262
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 266
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 269

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/ResourceLoaderClassLoadHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Could not load " appears 2 times in the file. 96

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerAccessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 82
 Warning extension MultipleStringLiteralsExtended The String "Registration of jobs and triggers failed: " appears 2 times in the file. 254
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 256
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 291

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerAccessorBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 161
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 170
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 172
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 177
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 179
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 181
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 183
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 185
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 188
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 190
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 192
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 194
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 196
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 199
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 315
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 551
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 588
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 596
 Warning extension MultipleStringLiteralsExtended The String " seconds" appears 2 times in the file. 653

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/SimpleThreadPoolTaskExecutor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107

spring-framework/spring-context-support/src/main/java/org/springframework/scheduling/quartz/SpringBeanJobFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 107

spring-framework/spring-context-support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280
 Warning extension ReturnCountExtended Return count for 'getTemplateLoaderForPath' method is 3 (max allowed is 1). 336

spring-framework/spring-context-support/src/main/java/org/springframework/ui/freemarker/SpringTemplateLoader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73

spring-framework/spring-context-support/src/main/java/org/springframework/ui/velocity/SpringResourceLoader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 87

spring-framework/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 216
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 298

spring-framework/spring-context-support/src/test/java/org/springframework/cache/AbstractCacheTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enescu" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "george" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "initialValue" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "vlaicu" appears 3 times in the file. 99

spring-framework/spring-context-support/src/test/java/org/springframework/cache/ehcache/EhCacheSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myCacheManager" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Singleton property" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Loaded CacheManager with no caches" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "myCache1" appears 12 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "No myCache1 defined" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "testEhcache.xml" appears 2 times in the file. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension MultipleStringLiteralsExtended The String "myCache1.maxElements" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "undefinedCache" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "default timeToLive is correct" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "default timeToIdle is correct" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "undefinedCache2" appears 2 times in the file. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension MultipleStringLiteralsExtended The String "myKey1" appears 4 times in the file. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284

spring-framework/spring-context-support/src/test/java/org/springframework/cache/guava/GuavaCacheManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 18 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 6 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "c3" appears 4 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "key3" appears 13 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension MultipleStringLiteralsExtended The String "someCache" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "ping" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "pong" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "I only know ping" appears 2 times in the file. 168

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/AbstractJCacheTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/JCacheEhCacheTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/config/AbstractJCacheAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown an exception" appears 17 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "methodInCallStack" appears 2 times in the file. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 481
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 516

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheCustomInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 77
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 87
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 91
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 151

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheJavaConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cacheResolver" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "exceptionCacheResolver" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "exception" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 149

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/AnnotatedJCacheableService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected exception (" appears 4 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 195

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/AnnotationCacheOperationSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Object.toString()" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "Wrong cache resolver implementation" appears 2 times in the file. 215

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/CachePutOperationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/CacheResolverAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testCache" appears 2 times in the file. 51

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/CacheResultOperationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "anotherSimpleGet" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/JCacheErrorHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Test exception on evict" appears 2 times in the file. 90

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/JCacheInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "cache" appears 3 times in the file. 48
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 50
 Warning extension MultipleStringLiteralsExtended The String "myId" appears 3 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 56
 Warning extension MultipleStringLiteralsExtended The String "Unexpected: " appears 2 times in the file. 57
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 76

spring-framework/spring-context-support/src/test/java/org/springframework/cache/jcache/interceptor/JCacheKeyGeneratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 76

spring-framework/spring-context-support/src/test/java/org/springframework/cache/transaction/AbstractTransactionSupportingCacheManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111

spring-framework/spring-context-support/src/test/java/org/springframework/cache/transaction/TransactionAwareCacheDecoratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testCache" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "123" appears 14 times in the file. 57

spring-framework/spring-context-support/src/test/java/org/springframework/mail/SimpleMailMessageTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "me@mail.org" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "you@mail.org" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "reply@mail.org" appears 3 times in the file. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 47
 Warning extension MultipleStringLiteralsExtended The String "he@mail.org" appears 5 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "she@mail.org" appears 4 times in the file. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "us@mail.org" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "them@mail.org" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "my subject" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "my text" appears 3 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 86
 Warning extension MultipleStringLiteralsExtended The String "fiona@mail.org" appears 2 times in the file. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 88
 Warning extension MultipleStringLiteralsExtended The String "mmm@mmm.org" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "from@somewhere" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "replyTo@somewhere" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "to@somewhere" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "cc@somewhere" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "bcc@somewhere" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "subject" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 158
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 163

spring-framework/spring-context-support/src/test/java/org/springframework/mail/javamail/ConfigurableMimeFileTypeMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid content type for HTM" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "text/html" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foobar.HTM" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foobar.c++" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "foobar.foo" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "foo/bar" appears 2 times in the file. 54

spring-framework/spring-context-support/src/test/java/org/springframework/mail/javamail/InternetAddressEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 53

spring-framework/spring-context-support/src/test/java/org/springframework/mail/javamail/JavaMailSenderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "host" appears 26 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "username" appears 28 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "password" appears 28 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "me@mail.org" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "reply@mail.org" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "you@mail.org" appears 9 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "he@mail.org" appears 8 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "she@mail.org" appears 9 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "us@mail.org" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "them@mail.org" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "my subject" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "my text" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 4 times in the file. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension MultipleStringLiteralsExtended The String "custom" appears 2 times in the file. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension MultipleStringLiteralsExtended The String "bogusKey" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "bogusValue" appears 2 times in the file. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown MailSendException" appears 2 times in the file. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 410
 Warning extension MultipleStringLiteralsExtended The String "fail" appears 3 times in the file. 423
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441
 Warning extension MultipleStringLiteralsExtended The String "failed" appears 3 times in the file. 442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 497

spring-framework/spring-context-support/src/test/java/org/springframework/scheduling/quartz/QuartzSchedulerLifecycleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "quartzSchedulerLifecycleTests.xml" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "lazyScheduler" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Quartz Scheduler with lazy-init is hanging on destruction: " appears 2 times in the file. 41

spring-framework/spring-context-support/src/test/java/org/springframework/scheduling/quartz/QuartzSupportTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "appCtx" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "myJob" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "myTrigger" appears 5 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 128
 Warning extension MultipleStringLiteralsExtended The String "param" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "10" appears 6 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension MultipleStringLiteralsExtended The String "ignoredParam" appears 3 times in the file. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension MultipleStringLiteralsExtended The String "exportService" appears 2 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "importService" appears 2 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "doImport called exportService" appears 2 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "doExport not called on exportService" appears 2 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "doImport not called on importService" appears 2 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "doExport called on importService" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "scheduler" appears 5 times in the file. 355
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 397
 Warning extension MultipleStringLiteralsExtended The String "Param already set" appears 2 times in the file. 433
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 469

spring-framework/spring-context-support/src/test/java/org/springframework/ui/jasperreports/JasperReportsUtilsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension MultipleStringLiteralsExtended The String "~" appears 2 times in the file. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension MultipleStringLiteralsExtended The String "Output length should be greater than 0" appears 3 times in the file. 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 199
 Warning extension MultipleStringLiteralsExtended The String "Dear Lord!" appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "Output should contain 'MeineSeite'" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "MeineSeite" appears 2 times in the file. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 211
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 233
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 246

spring-framework/spring-context/src/main/java/org/springframework/cache/annotation/AnnotationCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension MultipleStringLiteralsExtended The String "At least one CacheAnnotationParser needs to be specified" appears 2 times in the file. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171
 Warning extension LogicConditionNeedOptimization Condition with && at line 171 position 68 need optimization. All method calls are advised to move to end of logic expression. 171

spring-framework/spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurationSelector.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95

spring-framework/spring-context/src/main/java/org/springframework/cache/annotation/SpringCacheAnnotationParser.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 213
 Warning extension MultipleStringLiteralsExtended The String "Invalid cache annotation configuration on '" appears 2 times in the file. 226
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 247
 Warning extension LogicConditionNeedOptimization Condition with && at line 285 position 43 need optimization. All method calls are advised to move to end of logic expression. 285

spring-framework/spring-context/src/main/java/org/springframework/cache/concurrent/ConcurrentMapCache.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 169

spring-framework/spring-context/src/main/java/org/springframework/cache/concurrent/ConcurrentMapCacheFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 86

spring-framework/spring-context/src/main/java/org/springframework/cache/concurrent/ConcurrentMapCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension OverridableMethodInConstructor Overridable method 'setCacheNames' is called in constructor body. 66

spring-framework/spring-context/src/main/java/org/springframework/cache/config/AnnotationDrivenCacheBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource" appears 2 times in the file. 68
 Warning extension LogicConditionNeedOptimization Condition with || at line 117 position 33 need optimization. All method calls are advised to move to end of logic expression. 117
 Warning extension MultipleStringLiteralsExtended The String "cacheOperationSource" appears 4 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "adviceBeanName" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "order" appears 6 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "aspectOf" appears 2 times in the file. 189

spring-framework/spring-context/src/main/java/org/springframework/cache/config/CacheAdviceParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cacheOperationSources" appears 2 times in the file. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension MultipleStringLiteralsExtended The String "unless" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "cache" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "key-generator" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "cache-manager" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "condition" appears 2 times in the file. 202

spring-framework/spring-context/src/main/java/org/springframework/cache/config/CacheNamespaceHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 43

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/AbstractCacheInvoker.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 70
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 84
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 97
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 110

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/AbstractCacheResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/AbstractFallbackCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension ReturnCountExtended Return count for 'getCacheOperations' method is 3 (max allowed is 1). 86
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 92
 Warning extension ReturnCountExtended Return count for 'computeCacheOperations' method is 5 (max allowed is 1). 127
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 130
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 160

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 108
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 185
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 189
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 336
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 370
 Warning extension MultipleStringLiteralsExtended The String " for operation " appears 3 times in the file. 417
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 494
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 506
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 678
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 684

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/CacheEvictOperation.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 51

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/CacheInterceptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 54
 Warning extension AvoidHidingCauseException Cause exception 'th' was lost. 64

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/CacheOperation.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 128

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/CacheOperationSourcePointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/CompositeCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/ExpressionEvaluator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 161

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/MethodCacheKey.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/NameMatchCacheOperationSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

spring-framework/spring-context/src/main/java/org/springframework/cache/interceptor/SimpleKey.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 54

spring-framework/spring-context/src/main/java/org/springframework/cache/support/AbstractCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

spring-framework/spring-context/src/main/java/org/springframework/cache/support/CompositeCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension OverridableMethodInConstructor Overridable method 'setCacheManagers' is called in constructor body. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113

spring-framework/spring-context/src/main/java/org/springframework/cache/support/NoOpCacheManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

spring-framework/spring-context/src/main/java/org/springframework/context/NoSuchMessageException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No message found under code '" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "' for locale '" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "'." appears 2 times in the file. 35

spring-framework/spring-context/src/main/java/org/springframework/context/access/ContextSingletonBeanFactoryLocator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 120

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/AdviceModeImportSelector.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 45

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/AnnotatedBeanDefinitionReader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "BeanDefinitionRegistry must not be null" appears 2 times in the file. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 146

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'register' is called in constructor body. 83
 Warning extension OverridableMethodInConstructor Overridable method 'scan' is called in constructor body. 94

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/AnnotationScopeMetadataResolver.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 42

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "BeanDefinitionRegistry must not be null" appears 2 times in the file. 138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 185
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 195
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 233
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 246
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 335

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension OverridableMethodInConstructor Overridable method 'registerDefaultFilters' is called in constructor body. 116
 Warning extension MultipleStringLiteralsExtended The String "Environment must not be null" appears 2 times in the file. 118
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 243
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 251
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 266
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 302
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 374

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 138
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension OverridableMethodInConstructor Overridable method 'ignoreResourceType' is called in constructor body. 192
 Warning extension MultipleStringLiteralsExtended The String "BeanFactory must not be null" appears 3 times in the file. 248
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 307
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 316
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 341
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 345
 Warning extension MultipleStringLiteralsExtended The String "set" appears 3 times in the file. 538
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 599
 Warning extension AvoidHidingCauseException Cause exception 'notFound' was lost. 614
 Warning extension MultipleStringLiteralsExtended The String "JAX-WS Service class [" appears 2 times in the file. 624
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 631
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 636

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ComponentScanAnnotationParser.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 119
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ComponentScanBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 113
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 216
 Warning extension ReturnCountExtended Return count for 'createTypeFilter' method is 2 (max allowed is 1). 225
 Warning extension MultipleStringLiteralsExtended The String "] for strategy [" appears 2 times in the file. 266
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 269

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConditionEvaluator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'shouldSkip' method is 4 (max allowed is 1). 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 149

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClass.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension MultipleStringLiteralsExtended The String "Bean name must not be null" appears 3 times in the file. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 225

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassBeanDefinitionReader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 201
 Warning extension ReturnCountExtended Return count for 'isOverriddenByExistingDefinition' method is 3 (max allowed is 1). 275
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 287
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 309
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 334
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 340
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 341
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 402
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 433

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassEnhancer.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 238
 Warning extension ReturnCountExtended Return count for 'intercept' method is 3 (max allowed is 1). 261
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 321
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 346
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 357
 Warning extension LogicConditionNeedOptimization Condition with && at line 378 position 46 need optimization. All method calls are advised to move to end of logic expression. 378

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 177
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 179
 Warning extension ReturnCountExtended Return count for 'doProcessConfigurationClass' method is 2 (max allowed is 1). 244
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "java" appears 4 times in the file. 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 336
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 390
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 391
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 435
 Warning extension MultipleStringLiteralsExtended The String "Failed to process import candidates for configuration class [" appears 2 times in the file. 436
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 492
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 515
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 542
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 566
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 576
 Warning extension MultipleStringLiteralsExtended The String "Failed to load class [" appears 2 times in the file. 593
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 603
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 623
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 640
 Warning extension ReturnCountExtended Return count for 'getMemberClasses' method is 2 (max allowed is 1). 734
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 740
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 756
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 771
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 776
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 790
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 816

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassPostProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 146
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 156
 Warning extension MultipleStringLiteralsExtended The String "postProcessBeanFactory already called on this post-processor against " appears 2 times in the file. 235
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 267
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 304
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 309
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 324
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 325
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 362
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 394

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension ReturnCountExtended Return count for 'checkConfigurationClassCandidate' method is 4 (max allowed is 1). 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 125

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ContextAnnotationAutowireCandidateResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 44

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/Jsr330ScopeMetadataResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 61

spring-framework/spring-context/src/main/java/org/springframework/context/annotation/ProfileCondition.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 39

spring-framework/spring-context/src/main/java/org/springframework/context/config/AbstractPropertyLoadingBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 59

spring-framework/spring-context/src/main/java/org/springframework/context/config/LoadTimeWeaverBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

spring-framework/spring-context/src/main/java/org/springframework/context/config/MBeanExportBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "server" appears 3 times in the file. 48

spring-framework/spring-context/src/main/java/org/springframework/context/config/MBeanServerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 61

spring-framework/spring-context/src/main/java/org/springframework/context/event/AbstractApplicationEventMulticaster.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension ReturnCountExtended Return count for 'getApplicationListeners' method is 4 (max allowed is 1). 158
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 258
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 276
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 278
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 333

spring-framework/spring-context/src/main/java/org/springframework/context/event/GenericApplicationListenerAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74

spring-framework/spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146

spring-framework/spring-context/src/main/java/org/springframework/context/event/SourceFilteringListener.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85

spring-framework/spring-context/src/main/java/org/springframework/context/expression/BeanFactoryAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 42

spring-framework/spring-context/src/main/java/org/springframework/context/expression/StandardBeanExpressionResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 163

spring-framework/spring-context/src/main/java/org/springframework/context/i18n/LocaleContextHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String "Locale context" appears 2 times in the file. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 207

spring-framework/spring-context/src/main/java/org/springframework/context/i18n/SimpleLocaleContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 52

spring-framework/spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension OverridableMethodInConstructor Overridable method 'getResourcePatternResolver' is called in constructor body. 207
 Warning extension OverridableMethodInConstructor Overridable method 'setParent' is called in constructor body. 216
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 636
 Warning extension MultipleStringLiteralsExtended The String "': using default [" appears 3 times in the file. 647
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 871
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 879

spring-framework/spring-context/src/main/java/org/springframework/context/support/AbstractMessageSource.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getMessage' method is 3 (max allowed is 1). 163
 Warning extension ReturnCountExtended Return count for 'getMessageInternal' method is 4 (max allowed is 1). 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 308

spring-framework/spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableApplicationContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162

spring-framework/spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableConfigApplicationContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 111

spring-framework/spring-context/src/main/java/org/springframework/context/support/AbstractXmlApplicationContext.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 140

spring-framework/spring-context/src/main/java/org/springframework/context/support/ApplicationObjectSupport.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "ApplicationObjectSupport instance [" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "] does not run in an ApplicationContext" appears 2 times in the file. 142

spring-framework/spring-context/src/main/java/org/springframework/context/support/ContextTypeMatchClassLoader.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 146
 Warning extension MultipleStringLiteralsExtended The String "' of type [" appears 3 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 170
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 175
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 176
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 255
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 272
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 300
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 310
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 403

spring-framework/spring-context/src/main/java/org/springframework/context/support/DefaultMessageSourceResolvable.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 129

spring-framework/spring-context/src/main/java/org/springframework/context/support/DelegatingMessageSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 83

spring-framework/spring-context/src/main/java/org/springframework/context/support/EmbeddedValueResolutionSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 46

spring-framework/spring-context/src/main/java/org/springframework/context/support/GenericApplicationContext.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setParent' is called in constructor body. 123
 Warning extension OverridableMethodInConstructor Overridable method 'setParent' is called in constructor body. 135
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 278

spring-framework/spring-context/src/main/java/org/springframework/context/support/LiveBeansView.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 71
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension MultipleStringLiteralsExtended The String "\",\n" appears 6 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String ",\n" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 184
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 213

spring-framework/spring-context/src/main/java/org/springframework/context/support/MessageSourceAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73

spring-framework/spring-context/src/main/java/org/springframework/context/support/MessageSourceSupport.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension ReturnCountExtended Return count for 'formatMessage' method is 2 (max allowed is 1). 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 159

spring-framework/spring-context/src/main/java/org/springframework/context/support/PostProcessorRegistrationDelegate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 195
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 230
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 329

spring-framework/spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 176

spring-framework/spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 236
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 259
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 274
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 385
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 419
 Warning extension ReturnCountExtended Return count for 'getProperties' method is 4 (max allowed is 1). 452
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 503
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 538
 Warning extension MultipleStringLiteralsExtended The String "Loading properties [" appears 3 times in the file. 572
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 651
 Warning extension ReturnCountExtended Return count for 'getMessageFormat' method is 3 (max allowed is 1). 686

spring-framework/spring-context/src/main/java/org/springframework/context/support/ResourceBundleMessageSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 195
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 221
 Warning extension ReturnCountExtended Return count for 'getResourceBundle' method is 3 (max allowed is 1). 266
 Warning extension LogicConditionNeedOptimization Condition with || at line 313 position 83 need optimization. All method calls are advised to move to end of logic expression. 313
 Warning extension LogicConditionNeedOptimization Condition with || at line 314 position 33 need optimization. All method calls are advised to move to end of logic expression. 314
 Warning extension ReturnCountExtended Return count for 'getMessageFormat' method is 3 (max allowed is 1). 333
 Warning extension ReturnCountExtended Return count for 'newBundle' method is 3 (max allowed is 1). 397
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 431
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 435
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 455
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 460

spring-framework/spring-context/src/main/java/org/springframework/context/support/StaticMessageSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension MultipleStringLiteralsExtended The String "_" appears 3 times in the file. 46

spring-framework/spring-context/src/main/java/org/springframework/context/weaving/AspectJWeavingEnabler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51

spring-framework/spring-context/src/main/java/org/springframework/context/weaving/DefaultContextLoadTimeWeaver.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setBeanClassLoader' is called in constructor body. 67
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 91
 Warning extension ReturnCountExtended Return count for 'createServerSpecificLoadTimeWeaver' method is 2 (max allowed is 1). 106

spring-framework/spring-context/src/main/java/org/springframework/ejb/access/AbstractRemoteSlsbInvokerInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Could not connect to remote EJB [" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "] - retrying" appears 2 times in the file. 169
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 242

spring-framework/spring-context/src/main/java/org/springframework/ejb/access/AbstractSlsbInvokerInterceptor.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'home' can be moved inside the block at line '122' to restrict runtime creation. 121
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 187

spring-framework/spring-context/src/main/java/org/springframework/ejb/access/LocalSlsbInvokerInterceptor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invokeInContext' method is 2 (max allowed is 1). 63
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 84
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 84
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 87
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 169

spring-framework/spring-context/src/main/java/org/springframework/ejb/access/SimpleRemoteSlsbInvokerInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 101
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 107
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 111
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 114

spring-framework/spring-context/src/main/java/org/springframework/ejb/config/AbstractJndiLocatingBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50

spring-framework/spring-context/src/main/java/org/springframework/ejb/config/JndiLookupBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 52

spring-framework/spring-context/src/main/java/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 207

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/DateFormatter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createDateFormat' method is 5 (max allowed is 1). 169
 Warning extension MultipleStringLiteralsExtended The String "Unsupported style pattern '" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 194

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/DateTimeFormatAnnotationFormatterFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/joda/DateTimeFormatterFactory.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/joda/JodaDateTimeFormatAnnotationFormatterFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/joda/JodaTimeContextHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/joda/JodaTimeFormatterRegistrar.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 96

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeContextHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeFormatterFactory.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 210

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeFormatterRegistrar.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/standard/Jsr310DateTimeFormatAnnotationFormatterFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-context/src/main/java/org/springframework/format/datetime/standard/TemporalAccessorParser.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 68

spring-framework/spring-context/src/main/java/org/springframework/format/support/FormattingConversionService.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension MultipleStringLiteralsExtended The String " -> " appears 3 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String ": " appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "Expected [" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "] to be present on " appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 252
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 339
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 344

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/InstrumentationLoadTimeWeaver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 134
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 182

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/ResourceOverridingShadowingClassLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/ShadowingClassLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 163

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/WeavingTransformer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/glassfish/GlassFishLoadTimeWeaver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Could not initialize GlassFishLoadTimeWeaver because GlassFish API classes are not available" appears 2 times in the file. 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 68
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 99
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 115
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 117

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/jboss/JBossMCAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 81
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/jboss/JBossMCTranslatorAdapter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 45

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/jboss/JBossModulesAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 60
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 70

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/TomcatLoadTimeWeaver.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 78
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 91
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 93
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 109
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 111

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/weblogic/WebLogicClassLoaderAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 69
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 88
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 109

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/weblogic/WebLogicClassPreProcessorAdapter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/websphere/WebSphereClassLoaderAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 63
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 87
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 89
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 103
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105

spring-framework/spring-context/src/main/java/org/springframework/instrument/classloading/websphere/WebSphereClassPreDefinePlugin.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86

spring-framework/spring-context/src/main/java/org/springframework/jmx/access/ConnectorDelegate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 57

spring-framework/spring-context/src/main/java/org/springframework/jmx/access/MBeanClientInterceptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 268
 Warning extension MultipleStringLiteralsExtended The String "Unable to obtain MBean info for bean [" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 303
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 327
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 415
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 418
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 421
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 427
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 430
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 433
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 441
 Warning extension ReturnCountExtended Return count for 'invokeAttribute' method is 2 (max allowed is 1). 462
 Warning extension MultipleStringLiteralsExtended The String "Attribute '" appears 3 times in the file. 471
 Warning extension MultipleStringLiteralsExtended The String "' is not exposed on the management interface" appears 2 times in the file. 471
 Warning extension ReturnCountExtended Return count for 'convertResultValueIfNecessary' method is 2 (max allowed is 1). 529
 Warning extension MultipleStringLiteralsExtended The String "from" appears 4 times in the file. 539
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 574
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 626
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 635

spring-framework/spring-context/src/main/java/org/springframework/jmx/access/NotificationListenerRegistrar.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 148
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 165

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 369
 Warning extension MultipleStringLiteralsExtended The String "Managed resource must not be null" appears 2 times in the file. 461
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 469
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "ObjectName must not be null" appears 2 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "Unable to register MBean [" appears 2 times in the file. 492
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 531
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 563
 Warning extension ReturnCountExtended Return count for 'registerBeanNameOrInstance' method is 3 (max allowed is 1). 587
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 624
 Warning extension MultipleStringLiteralsExtended The String "] with key '" appears 2 times in the file. 626
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 626
 Warning extension MultipleStringLiteralsExtended The String "Located MBean '" appears 2 times in the file. 667
 Warning extension MultipleStringLiteralsExtended The String "': registering with JMX server as MBean [" appears 2 times in the file. 667
 Warning extension ReturnCountExtended Return count for 'registerLazyInit' method is 2 (max allowed is 1). 692
 Warning extension MultipleStringLiteralsExtended The String "': registering with JMX server as lazy-init MBean [" appears 2 times in the file. 707
 Warning extension ReturnCountExtended Return count for 'adaptMBeanIfPossible' method is 3 (max allowed is 1). 778
 Warning extension MultipleStringLiteralsExtended The String "Managed bean [" appears 2 times in the file. 784
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 787
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 796
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 819
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 834
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 894
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 905
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 910
 Warning extension MultipleStringLiteralsExtended The String "Bean with name '" appears 2 times in the file. 912
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 936
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 945
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 987
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1007

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/SpringModelMBean.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SpringModelMBean' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 54

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/assembler/AbstractConfigurableMBeanInfoAssembler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension MultipleStringLiteralsExtended The String "Property 'notificationInfoMappings' only accepts ManagedNotifications for Map values" appears 2 times in the file. 85

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/assembler/AbstractReflectiveMBeanInfoAssembler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 295
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 349
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 351
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 510

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/assembler/InterfaceBasedMBeanInfoAssembler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/assembler/MetadataMBeanInfoAssembler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "JmxAttributeSource must not be null" appears 2 times in the file. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 193
 Warning extension ReturnCountExtended Return count for 'getAttributeDescription' method is 4 (max allowed is 1). 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 218
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 414
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 426
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 440

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/assembler/MethodNameBasedMBeanInfoAssembler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 118

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/naming/IdentityNamingStrategy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/naming/KeyNamingStrategy.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 92

spring-framework/spring-context/src/main/java/org/springframework/jmx/export/naming/MetadataNamingStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "JmxAttributeSource must not be null" appears 2 times in the file. 72
 Warning extension ReturnCountExtended Return count for 'getObjectName' method is 3 (max allowed is 1). 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/ConnectorServerFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 211

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/JmxUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " with agent id [" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 101
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 258

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/MBeanRegistrationSupport.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 200
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 213
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 222
 Warning extension MultipleStringLiteralsExtended The String "Could not unregister MBean [" appears 2 times in the file. 265

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/MBeanServerConnectionFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 158

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/MBeanServerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 190

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/NotificationListenerHolder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 124
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 157

spring-framework/spring-context/src/main/java/org/springframework/jmx/support/WebSphereMBeanServerFactoryBean.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 61
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 74
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 91

spring-framework/spring-context/src/main/java/org/springframework/jndi/JndiAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 49

spring-framework/spring-context/src/main/java/org/springframework/jndi/JndiLocatorDelegate.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 64

spring-framework/spring-context/src/main/java/org/springframework/jndi/JndiObjectFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 361

spring-framework/spring-context/src/main/java/org/springframework/jndi/JndiObjectTargetSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 130

spring-framework/spring-context/src/main/java/org/springframework/jndi/JndiPropertySource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "JNDI lookup for name [" appears 2 times in the file. 84

spring-framework/spring-context/src/main/java/org/springframework/jndi/JndiTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 182

spring-framework/spring-context/src/main/java/org/springframework/jndi/support/SimpleJndiBeanFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 118
 Warning extension MultipleStringLiteralsExtended The String "not found in JNDI environment" appears 2 times in the file. 118
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 121
 Warning extension MultipleStringLiteralsExtended The String "SimpleJndiBeanFactory does not support explicit bean creation arguments" appears 2 times in the file. 137
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 178
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 187
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 220
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 229

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiClientInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "JNDI lookup for RMI service [" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "] failed" appears 2 times in the file. 243
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 260
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 285
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 294
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 341
 Warning extension MultipleStringLiteralsExtended The String "Could not connect to RMI service [" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "] - retrying" appears 2 times in the file. 356
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 409
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 411
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 424
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 427
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 430

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiServiceExporter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 83
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 132

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 203
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 232
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 354
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 356
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 370
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 374

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptorUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invokeRemoteMethod' method is 2 (max allowed is 1). 64
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 85
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/RmiInvocationWrapper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/RmiRegistryFactoryBean.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Looking for RMI registry at port '" appears 3 times in the file. 186
 Warning extension ReturnCountExtended Return count for 'getRegistry' method is 4 (max allowed is 1). 206
 Warning extension MultipleStringLiteralsExtended The String "Creating new RMI registry" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "RMI registry access threw exception" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "Could not detect RMI registry - creating new one" appears 2 times in the file. 228
 Warning extension ReturnCountExtended Return count for 'getRegistry' method is 2 (max allowed is 1). 247
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 293

spring-framework/spring-context/src/main/java/org/springframework/remoting/rmi/RmiServiceExporter.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 301
 Warning extension MultipleStringLiteralsExtended The String "Looking for RMI registry at port '" appears 3 times in the file. 329
 Warning extension ReturnCountExtended Return count for 'getRegistry' method is 3 (max allowed is 1). 349
 Warning extension MultipleStringLiteralsExtended The String "Creating new RMI registry" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "RMI registry access threw exception" appears 2 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "Could not detect RMI registry - creating new one" appears 2 times in the file. 370
 Warning extension ReturnCountExtended Return count for 'getRegistry' method is 2 (max allowed is 1). 388
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String " at port '" appears 2 times in the file. 432

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/RemoteInvocation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 49

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/RemoteInvocationBasedAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 47

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/RemoteInvocationBasedExporter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 117

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/RemoteInvocationResult.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 132

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/RemoteInvocationTraceInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "remote call: " appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Processing of " appears 2 times in the file. 88

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/RemoteInvocationUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

spring-framework/spring-context/src/main/java/org/springframework/remoting/support/SimpleHttpServerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180

spring-framework/spring-context/src/main/java/org/springframework/scheduling/annotation/AnnotationAsyncExecutionInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 83

spring-framework/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncAnnotationAdvisor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension OverridableMethodInConstructor Overridable method 'buildAdvice' is called in constructor body. 99
 Warning extension OverridableMethodInConstructor Overridable method 'buildPointcut' is called in constructor body. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122

spring-framework/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurationSelector.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 49

spring-framework/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncResult.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 87

spring-framework/spring-context/src/main/java/org/springframework/scheduling/annotation/ProxyAsyncConfiguration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "annotation" appears 2 times in the file. 47

spring-framework/spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Remove all but one of the beans; or implement the SchedulingConfigurer interface and call " appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "ScheduledTaskRegistrar#setScheduler explicitly within the configureTasks() callback." appears 2 times in the file. 188
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 197
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 221
 Warning extension MultipleStringLiteralsExtended The String "': " appears 2 times in the file. 242
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 266
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 301
 Warning extension MultipleStringLiteralsExtended The String "\" - cannot parse into integer" appears 3 times in the file. 302
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 349
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 373
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 383

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ConcurrentTaskExecutor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 217
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 227

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ConcurrentTaskScheduler.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ConcurrentTaskScheduler' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 169
 Warning extension MultipleStringLiteralsExtended The String "Executor [" appears 6 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "] did not accept task: " appears 6 times in the file. 174

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/CustomizableThreadFactory.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CustomizableThreadFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 42

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95
 Warning extension MultipleStringLiteralsExtended The String " '" appears 4 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String " to terminate" appears 2 times in the file. 224

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 132

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ReschedulingRunnable.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 146

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 226
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 239

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ScheduledExecutorTask.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 158
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 168

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ThreadPoolExecutorFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 196

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ThreadPoolTaskExecutor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Executor [" appears 5 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "] did not accept task: " appears 5 times in the file. 257
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 292
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 305

spring-framework/spring-context/src/main/java/org/springframework/scheduling/concurrent/ThreadPoolTaskScheduler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Could not apply remove-on-cancel policy - not a Java 7+ ScheduledThreadPoolExecutor" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Executor [" appears 11 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "] did not accept task: " appears 11 times in the file. 226
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 278
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 300
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 388

spring-framework/spring-context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "executor" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "scheduler" appears 2 times in the file. 97

spring-framework/spring-context/src/main/java/org/springframework/scheduling/config/ScheduledTaskRegistrar.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 100
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 122
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 143
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 164
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 185
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 272

spring-framework/spring-context/src/main/java/org/springframework/scheduling/config/ScheduledTasksBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 63

spring-framework/spring-context/src/main/java/org/springframework/scheduling/config/TaskExecutorFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148

spring-framework/spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144
 Warning extension LogicConditionNeedOptimization Condition with && at line 200 position 74 need optimization. All method calls are advised to move to end of logic expression. 200
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 5 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "' in expression \"" appears 4 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "-" appears 3 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "): '" appears 2 times in the file. 362

spring-framework/spring-context/src/main/java/org/springframework/scheduling/support/CronTrigger.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

spring-framework/spring-context/src/main/java/org/springframework/scheduling/support/DelegatingErrorHandlingRunnable.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 59

spring-framework/spring-context/src/main/java/org/springframework/scheduling/support/MethodInvokingRunnable.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 73

spring-framework/spring-context/src/main/java/org/springframework/scheduling/support/PeriodicTrigger.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 119

spring-framework/spring-context/src/main/java/org/springframework/scheduling/support/TaskUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 68
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79

spring-framework/spring-context/src/main/java/org/springframework/scripting/bsh/BshScriptFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'scriptSourceLocator' must not be empty" appears 2 times in the file. 67
 Warning extension ReturnCountExtended Return count for 'getScriptedObject' method is 3 (max allowed is 1). 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 126
 Warning extension LogicConditionNeedOptimization Condition with || at line 129 position 34 need optimization. All method calls are advised to move to end of logic expression. 129
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 154
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 193
 Warning extension LogicConditionNeedOptimization Condition with || at line 193 position 37 need optimization. All method calls are advised to move to end of logic expression. 193

spring-framework/spring-context/src/main/java/org/springframework/scripting/bsh/BshScriptUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 96
 Warning extension MultipleStringLiteralsExtended The String "Script source must not be empty" appears 2 times in the file. 118
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 180
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 210

spring-framework/spring-context/src/main/java/org/springframework/scripting/config/ScriptBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 195
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 224

spring-framework/spring-context/src/main/java/org/springframework/scripting/groovy/GroovyScriptEvaluator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 58

spring-framework/spring-context/src/main/java/org/springframework/scripting/groovy/GroovyScriptFactory.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 141
 Warning extension ReturnCountExtended Return count for 'getScriptedObject' method is 3 (max allowed is 1). 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 215
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 233
 Warning extension LogicConditionNeedOptimization Condition with || at line 233 position 37 need optimization. All method calls are advised to move to end of logic expression. 233
 Warning extension ReturnCountExtended Return count for 'executeScript' method is 2 (max allowed is 1). 246

spring-framework/spring-context/src/main/java/org/springframework/scripting/jruby/JRubyScriptUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findClassNode' method is 3 (max allowed is 1). 120
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 195

spring-framework/spring-context/src/main/java/org/springframework/scripting/support/RefreshableScriptTargetSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 80

spring-framework/spring-context/src/main/java/org/springframework/scripting/support/ResourceScriptSource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Resource must not be null" appears 2 times in the file. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108

spring-framework/spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension ReturnCountExtended Return count for 'predictBeanType' method is 3 (max allowed is 1). 240
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 261
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 262
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 273
 Warning extension MultipleStringLiteralsExtended The String "Could not determine scripted object type for bean '" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 283
 Warning extension ReturnCountExtended Return count for 'postProcessBeforeInstantiation' method is 2 (max allowed is 1). 292
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 313
 Warning extension MultipleStringLiteralsExtended The String "] with value '" appears 2 times in the file. 401

spring-framework/spring-context/src/main/java/org/springframework/scripting/support/StandardScriptEvaluator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89
 Warning extension ReturnCountExtended Return count for 'getScriptEngine' method is 2 (max allowed is 1). 105
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 112

spring-framework/spring-context/src/main/java/org/springframework/scripting/support/StaticScriptSource.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setScript' is called in constructor body. 46
 Warning extension OverridableMethodInConstructor Overridable method 'setScript' is called in constructor body. 56

spring-framework/spring-context/src/main/java/org/springframework/ui/context/support/ResourceBundleThemeSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

spring-framework/spring-context/src/main/java/org/springframework/ui/context/support/UiApplicationContextUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'initThemeSource' method is 2 (max allowed is 1). 56
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 69

spring-framework/spring-context/src/main/java/org/springframework/validation/AbstractBindingResult.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 228
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 273
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 346

spring-framework/spring-context/src/main/java/org/springframework/validation/AbstractErrors.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 155
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 218
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 233

spring-framework/spring-context/src/main/java/org/springframework/validation/AbstractPropertyBindingResult.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'formatFieldValue' method is 3 (max allowed is 1). 107

spring-framework/spring-context/src/main/java/org/springframework/validation/BeanPropertyBindingResult.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

spring-framework/spring-context/src/main/java/org/springframework/validation/BindException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 289

spring-framework/spring-context/src/main/java/org/springframework/validation/DataBinder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 687
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 702
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 710
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 717

spring-framework/spring-context/src/main/java/org/springframework/validation/DefaultMessageCodesResolver.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 122
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 186

spring-framework/spring-context/src/main/java/org/springframework/validation/MapBindingResult.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54

spring-framework/spring-context/src/main/java/org/springframework/validation/ValidationUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Errors object must not be null" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 73

spring-framework/spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 221
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 254
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 282
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 299
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 309
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 317
 Warning extension MultipleStringLiteralsExtended The String "No target ValidatorFactory set" appears 5 times in the file. 335

spring-framework/spring-context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationInterceptor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148

spring-framework/spring-context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationPostProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107

spring-framework/spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 183
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension MoveVariableInsideIf Variable 'attributeValue' can be moved inside the block at line '191' to restrict runtime creation. 190
 Warning extension MultipleStringLiteralsExtended The String "No target Validator set" appears 5 times in the file. 206

spring-framework/spring-context/src/test/java/example/scannable/FooServiceImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69

spring-framework/spring-context/src/test/java/example/scannable/ScopedProxyTestBean.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 33

spring-framework/spring-context/src/test/java/example/scannable/ServiceInvocationCounter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 44

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AfterAdviceBindingTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 2 times in the file. 90

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AfterReturningAdviceBindingTests.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "adrian" appears 2 times in the file. 105

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AfterThrowingAdviceBindingTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 54
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 60
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 89

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceBindingTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceCircularTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AspectAndAdvicePrecedenceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "aroundAdviceOne(highPrecedenceAspect)" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "aroundAdviceTwo(highPrecedenceAspect)" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "aroundAdviceOne(lowPrecedenceAspect)" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "aroundAdviceTwo(lowPrecedenceAspect)" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String ")" appears 6 times in the file. 116
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 200

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutAdvisorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Count should be 1" appears 2 times in the file. 52

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutAtAspectTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected a proxy" appears 2 times in the file. 57
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 61

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Matching bean must be advised (proxied)" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Advice not executed: must have been" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Non-matching bean must *not* be advised (proxied)" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 2 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/BeforeAdviceBindingTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 2 times in the file. 90

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/DeclareParentsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/OverloadedAdviceTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 36
 Warning extension MultipleStringLiteralsExtended The String "Should be IllegalArgumentException" appears 2 times in the file. 41
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 49
 Warning extension MultipleStringLiteralsExtended The String "Cannot resolve method 'myBeforeAdvice' to a unique method" appears 2 times in the file. 55

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/ProceedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value changed in around advice" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "MALE" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "argument is '" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "', " appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "but args array has '" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 177

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/PropertyDependentAspectTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "counter" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Proxy didn't get created" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "monitoringAspect" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Advise didn't get executed" appears 4 times in the file. 68

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/TargetPointcutSelectionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have been advised by POJO advice for base type" appears 2 times in the file. 69

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/_TestTypes.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 118

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AnnotationPointcutTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "this value" appears 2 times in the file. 46

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectImplementingInterfaceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "aspects.xml" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "adrian" appears 13 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "aspectsPlusAdvisor.xml" appears 5 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "Prototype Creation" appears 2 times in the file. 119
 Warning extension MoveVariableInsideIf Variable 'shouldBeWeaved' can be moved inside the block at line '122' to restrict runtime creation. 121
 Warning extension MultipleStringLiteralsExtended The String "adrian2" appears 3 times in the file. 121
 Warning extension MoveVariableInsideIf Variable 'shouldNotBeWeaved' can be moved inside the block at line '142' to restrict runtime creation. 141
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension MultipleStringLiteralsExtended The String "Adrian" appears 3 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "aspect" appears 3 times in the file. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 399
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 470

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AtAspectJAfterThrowingTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 47

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AtAspectJAnnotationBindingTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/_TestTypes.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "doThis" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "doThat" appears 2 times in the file. 83

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/benchmark/BenchmarkTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "AspectJ" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Spring AOP" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "adrian" appears 5 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 200

spring-framework/spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/spr3064/SPR3064Tests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 49
 Warning extension MultipleStringLiteralsExtended The String "advice invoked" appears 2 times in the file. 50

spring-framework/spring-context/src/test/java/org/springframework/aop/config/AopNamespaceHandlerAdviceTypeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45

spring-framework/spring-context/src/test/java/org/springframework/aop/config/AopNamespaceHandlerArgNamesTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

spring-framework/spring-context/src/test/java/org/springframework/aop/config/AopNamespaceHandlerReturningTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45

spring-framework/spring-context/src/test/java/org/springframework/aop/config/AopNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "getName" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "countingAdvice" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Incorrect before count" appears 6 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Incorrect after count" appears 6 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Sally" appears 2 times in the file. 99

spring-framework/spring-context/src/test/java/org/springframework/aop/config/AopNamespaceHandlerThrowingTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45

spring-framework/spring-context/src/test/java/org/springframework/aop/config/MethodLocatingFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 55
 Warning extension MultipleStringLiteralsExtended The String "toString()" appears 4 times in the file. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 61
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 74
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "Bingo" appears 2 times in the file. 100
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 103

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/AbstractAopProxyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tony" appears 3 times in the file. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 242
 Warning extension MultipleStringLiteralsExtended The String "Proxies should be equal, even after one was serialized" appears 2 times in the file. 263
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 277
 Warning extension MultipleStringLiteralsExtended The String "Advised one has correct age" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "one was invoked correct number of times" appears 5 times in the file. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension MultipleStringLiteralsExtended The String "Increment happened" appears 3 times in the file. 372
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 412
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 417
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 484
 Warning extension MultipleStringLiteralsExtended The String "exception matches" appears 3 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "Should have wrapped exception raised by interceptor" appears 2 times in the file. 516
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 521
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 551
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 648
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 651
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 654
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 662
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 665
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 668
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 682
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 689
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 760
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 779
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 852
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 864
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 873
 Warning extension MultipleStringLiteralsExtended The String "frozen" appears 3 times in the file. 873
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 888
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 894
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 900
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 912
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 918
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 924
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 948
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 950
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 973
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 974
 Warning extension MultipleStringLiteralsExtended The String "setAge" appears 3 times in the file. 984
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1008
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1014
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 7 times in the file. 1083
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1200
 Warning extension MultipleStringLiteralsExtended The String "overload" appears 2 times in the file. 1238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1313
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1315
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1317
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1326
 Warning extension MultipleStringLiteralsExtended The String "Advisor was added" appears 4 times in the file. 1344
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1380
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1385
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1389
 Warning extension MultipleStringLiteralsExtended The String "set" appears 3 times in the file. 1457
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 1482
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1551
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1586
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1621
 Warning extension EitherLogOrThrow Either log or throw exception. 1667
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1687
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1824
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 2025
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 2027
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2108

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/CglibProxyTests.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 90
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 105
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 5 times in the file. 177
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 179
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 218
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 279
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 295
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 303
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 316
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 339
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 346
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 349
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 475
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 485
 Warning extension OverridableMethodInConstructor Overridable method 'setName' is called in constructor body. 497

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/JdkDynamicProxyTests.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 142

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 9 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 6 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension MultipleStringLiteralsExtended The String "countingBeforeAdvice" appears 2 times in the file. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension MultipleStringLiteralsExtended The String "Adam" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "Has correct object type" appears 9 times in the file. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension MultipleStringLiteralsExtended The String "prototype" appears 4 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "prototypeTarget" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "autoInvoker" appears 2 times in the file. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 350
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 469
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 556
 Warning extension MultipleStringLiteralsExtended The String "serializableSingleton" appears 5 times in the file. 570
 Warning extension MultipleStringLiteralsExtended The String "Not serializable because an interceptor isn't serializable" appears 2 times in the file. 582
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 585
 Warning extension MultipleStringLiteralsExtended The String "serializablePrototype" appears 3 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "prototypeTestBeanProxy" appears 2 times in the file. 627
 Warning extension MultipleStringLiteralsExtended The String "expected LockedException" appears 2 times in the file. 640
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 646
 Warning extension MultipleStringLiteralsExtended The String "did not expect LockedException" appears 2 times in the file. 650
 Warning extension MultipleStringLiteralsExtended The String "prototypeTestBeanProxySingletonTarget" appears 2 times in the file. 659
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 677
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 712
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 720
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 726

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/adapter/AdvisorAdapterRegistrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 54
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 72
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/autoproxy/AdvisorAutoProxyCreatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 8 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 8 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension MultipleStringLiteralsExtended The String "!test" appears 2 times in the file. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/autoproxy/AutoProxyCreatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testInterceptor" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "interceptorNames" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "beanNames" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "beanNameAutoProxyCreator" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "singletonToBeProxied" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "singletonFactoryToBeProxied" appears 10 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "autowiredIndexedTestBean" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "messageSource" appears 3 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension MultipleStringLiteralsExtended The String "&singletonFactoryToBeProxied" appears 3 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "testAutoProxyCreator" appears 12 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "noInterfaces" appears 4 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "containerCallbackInterfacesOnly" appears 4 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "singletonNoInterceptor" appears 4 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "prototypeToBeProxied" appears 4 times in the file. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension MultipleStringLiteralsExtended The String "singleton" appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "false" appears 4 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "prototypeFactoryToBeProxied" appears 4 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "&prototypeFactoryToBeProxied" appears 2 times in the file. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 320

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/autoproxy/BeanNameAutoProxyCreatorInitTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 36
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 41

spring-framework/spring-context/src/test/java/org/springframework/aop/framework/autoproxy/BeanNameAutoProxyCreatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "noproxy" appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "onlyJdk" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "doubleJdk" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "introductionUsingJdk" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "introductionNopInterceptor" appears 2 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension MultipleStringLiteralsExtended The String "Introduction was made" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "second-introductionUsingJdk" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension MultipleStringLiteralsExtended The String "Mixin should have locked this object" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension MultipleStringLiteralsExtended The String "jdk1" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "cglib1" appears 2 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension MultipleStringLiteralsExtended The String "nopInterceptor" appears 2 times in the file. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192

spring-framework/spring-context/src/test/java/org/springframework/aop/scope/ScopedProxyTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "request" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 3 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension MultipleStringLiteralsExtended The String "scopedTarget.testBean" appears 2 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "testBeanTarget" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension MultipleStringLiteralsExtended The String "myFriend" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension MultipleStringLiteralsExtended The String "scopedTarget.scopedList" appears 2 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138

spring-framework/spring-context/src/test/java/org/springframework/aop/target/CommonsPoolTargetSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "pooledWithMixin" appears 2 times in the file. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "Should throw NoSuchElementException" appears 2 times in the file. 153

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/support/InjectAnnotationAutowireContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "autowired" appears 44 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "expected BeanCreationException" appears 10 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension MultipleStringLiteralsExtended The String "not the default" appears 2 times in the file. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension MultipleStringLiteralsExtended The String "default" appears 5 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "number" appears 8 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 513
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 539

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/support/QualifierAnnotationAutowireContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "autowired" appears 50 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "expected BeanCreationException" appears 10 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension MultipleStringLiteralsExtended The String "not the default" appears 2 times in the file. 382
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension MultipleStringLiteralsExtended The String "default" appears 5 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "number" appears 8 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension MultipleStringLiteralsExtended The String "the real juergen" appears 3 times in the file. 563
 Warning extension MultipleStringLiteralsExtended The String "juergen imposter" appears 2 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "juergen1" appears 2 times in the file. 570
 Warning extension MultipleStringLiteralsExtended The String "juergen2" appears 2 times in the file. 571
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/xml/LookupMethodWrappedByCglibProxyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Jenny" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 56

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/xml/QualifierAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 22 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "found 6" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "ParentLarry" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "LarryBean" appears 4 times in the file. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension MultipleStringLiteralsExtended The String "LarrySpecial" appears 2 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 269
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 283
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 298
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 407
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 409

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/xml/SimplePropertyNamespaceHandlerWithExpressionLanguageTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid name" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Baz" appears 2 times in the file. 42

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/xml/XmlBeanFactoryTestTypes.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 58
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 175
 Warning extension OverridableMethodInConstructor Overridable method 'setAge' is called in constructor body. 217
 Warning extension OverridableMethodInConstructor Overridable method 'setName' is called in constructor body. 218
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 334
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 362
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 363
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 364
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 365
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 371
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 385
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 443
 Warning extension MultipleStringLiteralsExtended The String "replaceMe:" appears 2 times in the file. 522
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 693
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 707

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/xml/XmlBeanFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Andrew" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "jenks" appears 3 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "jenny" appears 7 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "david" appears 3 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "1 jen instance" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "innerBean" appears 6 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "innerBean#1" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "inner1" appears 5 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "inner2" appears 2 times in the file. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension MultipleStringLiteralsExtended The String "Jenny" appears 9 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "hasInnerBeansAsPrototype" appears 2 times in the file. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 293
 Warning extension MultipleStringLiteralsExtended The String "failsOnInnerBean" appears 2 times in the file. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 303
 Warning extension MultipleStringLiteralsExtended The String "failsOnInnerBeanForConstructor" appears 2 times in the file. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension MultipleStringLiteralsExtended The String "inheritsFromParentFactory" appears 3 times in the file. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension MultipleStringLiteralsExtended The String "override" appears 3 times in the file. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension MultipleStringLiteralsExtended The String "inheritsWithClass" appears 3 times in the file. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension MultipleStringLiteralsExtended The String "prototypeInheritsFromParentFactoryPrototype" appears 3 times in the file. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension MultipleStringLiteralsExtended The String "prototype-override" appears 2 times in the file. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension MultipleStringLiteralsExtended The String "protoypeInheritsFromParentFactorySingleton" appears 2 times in the file. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 419
 Warning extension MultipleStringLiteralsExtended The String "inheritedTestBeanWithoutClass" appears 2 times in the file. 419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 424
 Warning extension MultipleStringLiteralsExtended The String "inheritedTestBeanPrototype" appears 2 times in the file. 424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension MultipleStringLiteralsExtended The String "inheritedTestBeanSingleton" appears 3 times in the file. 425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension MultipleStringLiteralsExtended The String "inheritedTestBean" appears 2 times in the file. 465
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 467
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 469
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 471
 Warning extension MultipleStringLiteralsExtended The String "bogusParent" appears 2 times in the file. 485
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 490
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension MultipleStringLiteralsExtended The String "singletonInheritsFromParentFactoryPrototype" appears 2 times in the file. 506
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 508
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 510
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 512
 Warning extension MultipleStringLiteralsExtended The String "myname" appears 2 times in the file. 533
 Warning extension MultipleStringLiteralsExtended The String "complexEgo" appears 2 times in the file. 546
 Warning extension MultipleStringLiteralsExtended The String "Correct circular reference" appears 8 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 4 times in the file. 586
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 589
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 605
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 620
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 621
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 627
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 636
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 658
 Warning extension MultipleStringLiteralsExtended The String "init-method2" appears 2 times in the file. 682
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 686
 Warning extension MultipleStringLiteralsExtended The String "initializers.xml" appears 2 times in the file. 686
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 688
 Warning extension MultipleStringLiteralsExtended The String "init-method3" appears 2 times in the file. 697
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 702
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 703
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 704
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 716
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 718
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 720
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 721
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 722
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 724
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 726
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 737
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 739
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 741
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 742
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 743
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 745
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 747
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 755
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 757
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 758
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 762
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 766
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 772
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 778
 Warning extension MultipleStringLiteralsExtended The String "a" appears 6 times in the file. 782
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 785
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 809
 Warning extension MultipleStringLiteralsExtended The String "kerry" appears 2 times in the file. 830
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 3 times in the file. 831
 Warning extension MultipleStringLiteralsExtended The String "rod1" appears 4 times in the file. 850
 Warning extension MultipleStringLiteralsExtended The String "rod2" appears 3 times in the file. 859
 Warning extension MultipleStringLiteralsExtended The String "rod3" appears 3 times in the file. 867
 Warning extension MultipleStringLiteralsExtended The String "other" appears 3 times in the file. 868
 Warning extension MultipleStringLiteralsExtended The String "rod4" appears 2 times in the file. 881
 Warning extension MultipleStringLiteralsExtended The String "rod5" appears 2 times in the file. 888
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 893
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 894
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 905
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 2 times in the file. 905
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 910
 Warning extension MultipleStringLiteralsExtended The String "kerry2" appears 4 times in the file. 925
 Warning extension MultipleStringLiteralsExtended The String "kerry1" appears 3 times in the file. 932
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 976
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 977
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 985
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 993
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 997
 Warning extension MultipleStringLiteralsExtended The String "rod9" appears 4 times in the file. 1010
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 4 times in the file. 1014
 Warning extension MultipleStringLiteralsExtended The String "rod18" appears 5 times in the file. 1056
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 1073
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1076
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1083
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1154
 Warning extension MultipleStringLiteralsExtended The String "classNotFound" appears 2 times in the file. 1174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1179
 Warning extension MultipleStringLiteralsExtended The String "resource1" appears 4 times in the file. 1197
 Warning extension MultipleStringLiteralsExtended The String "resource2" appears 4 times in the file. 1199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1201
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1248
 Warning extension MultipleStringLiteralsExtended The String "overrideOneMethod" appears 3 times in the file. 1267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1302
 Warning extension MultipleStringLiteralsExtended The String "David" appears 5 times in the file. 1309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1363
 Warning extension MultipleStringLiteralsExtended The String "constructorOverrides" appears 2 times in the file. 1401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1465
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1477
 Warning extension MultipleStringLiteralsExtended The String "A String" appears 2 times in the file. 1478
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1481
 Warning extension MultipleStringLiteralsExtended The String "lenientDependencyTestBean" appears 3 times in the file. 1507
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1508
 Warning extension MultipleStringLiteralsExtended The String "lenientDependencyTestBeanFactoryMethod" appears 3 times in the file. 1515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1516
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1532
 Warning extension MultipleStringLiteralsExtended The String "Ambiguous" appears 2 times in the file. 1532
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1549
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 1557
 Warning extension MultipleStringLiteralsExtended The String "stringConstructor" appears 2 times in the file. 1567
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1578
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1588
 Warning extension MultipleStringLiteralsExtended The String "constructorArrayNoType" appears 3 times in the file. 1597
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1598
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1609
 Warning extension MultipleStringLiteralsExtended The String "Duplicate name not detected" appears 2 times in the file. 1618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1621
 Warning extension MultipleStringLiteralsExtended The String "Bean name 'foo'" appears 2 times in the file. 1621
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1633
 Warning extension MultipleStringLiteralsExtended The String "should not replace" appears 2 times in the file. 1643
 Warning extension MultipleStringLiteralsExtended The String "replaceMe:1" appears 2 times in the file. 1643
 Warning extension MultipleStringLiteralsExtended The String "should replace" appears 2 times in the file. 1644
 Warning extension MultipleStringLiteralsExtended The String "cba" appears 2 times in the file. 1644
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 1644
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 1703
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1843
 Warning extension MultipleStringLiteralsExtended The String "Don't pick this constructor" appears 2 times in the file. 1871

spring-framework/spring-context/src/test/java/org/springframework/beans/factory/xml/support/CustomNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of advisors" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Incorrect advice class." appears 3 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "debuggingTestBeanNoInstance" appears 3 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension MultipleStringLiteralsExtended The String "objectName" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "age" appears 6 times in the file. 241

spring-framework/spring-context/src/test/java/org/springframework/cache/CacheReproTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "op" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "cache" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Called too many times" appears 2 times in the file. 135

spring-framework/spring-context/src/test/java/org/springframework/cache/CacheTestUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension MultipleStringLiteralsExtended The String " should have been found with key " appears 2 times in the file. 55

spring-framework/spring-context/src/test/java/org/springframework/cache/NoOpCacheManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bucket" appears 3 times in the file. 39
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61

spring-framework/spring-context/src/test/java/org/springframework/cache/annotation/AnnotationCacheOperationSourceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension MultipleStringLiteralsExtended The String "Custom key generator not set" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "custom" appears 13 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Should have failed to parse @Cacheable annotation" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "Custom cache manager not set" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Custom cache resolver not set" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "methodLevelCacheName" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "classKeyGenerator" appears 7 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "classCacheResolver" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "classCacheName" appears 6 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "methodLevelCacheManager" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "methodLevelCacheResolver" appears 2 times in the file. 188

spring-framework/spring-context/src/test/java/org/springframework/cache/concurrent/ConcurrentCacheTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enescu" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "george" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "initialValue" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "vlaicu" appears 3 times in the file. 108

spring-framework/spring-context/src/test/java/org/springframework/cache/concurrent/ConcurrentMapCacheManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 7 times in the file. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 35
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 6 times in the file. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension MultipleStringLiteralsExtended The String "c3" appears 4 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "key3" appears 13 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86

spring-framework/spring-context/src/test/java/org/springframework/cache/config/AbstractAnnotationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "testCache" appears 9 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "secondary" appears 6 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "primary" appears 7 times in the file. 66
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 108
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 127
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 159
 Warning extension MultipleStringLiteralsExtended The String "Excepted exception" appears 2 times in the file. 269
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 270
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension MultipleStringLiteralsExtended The String "should have failed with NoSuchBeanDefinitionException" appears 2 times in the file. 597

spring-framework/spring-context/src/test/java/org/springframework/cache/config/AnnotatedClassCacheableService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 36
 Warning extension MultipleStringLiteralsExtended The String "exception thrown - evict should still occur" appears 2 times in the file. 73

spring-framework/spring-context/src/test/java/org/springframework/cache/config/AnnotationNamespaceDrivenTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.cache.interceptor.CacheInterceptor#0" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "cacheResolver" appears 2 times in the file. 54

spring-framework/spring-context/src/test/java/org/springframework/cache/config/CustomInterceptorTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 79
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 83
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 130

spring-framework/spring-context/src/test/java/org/springframework/cache/config/DefaultCacheableService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "exception thrown - evict should still occur" appears 2 times in the file. 63

spring-framework/spring-context/src/test/java/org/springframework/cache/config/EnableCachingIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testCache" appears 2 times in the file. 46

spring-framework/spring-context/src/test/java/org/springframework/cache/config/EnableCachingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "keyGenerator" appears 2 times in the file. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 107
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 121
 Warning extension MultipleStringLiteralsExtended The String "testCache" appears 2 times in the file. 157

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/CacheErrorHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Test exception on get" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Test exception on put" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Test exception on evict" appears 4 times in the file. 130

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/CachePutEvaluationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Wrong value for @CachePut key" appears 2 times in the file. 93

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/CacheResolverCustomizationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "primary" appears 7 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "secondary" appears 4 times in the file. 121
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 279

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/DefaultKeyGeneratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "different" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "a" appears 15 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "b" appears 12 times in the file. 60
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 105
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 105
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/ExpressionEvaluatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "multipleCaching" appears 4 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "theResult" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "#result" appears 4 times in the file. 94

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/MethodCacheKeyTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68

spring-framework/spring-context/src/test/java/org/springframework/cache/interceptor/SimpleKeyGeneratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "different" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "a" appears 15 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "b" appears 12 times in the file. 60
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 105
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 105
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107

spring-framework/spring-context/src/test/java/org/springframework/context/ACATester.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 45

spring-framework/spring-context/src/test/java/org/springframework/context/AbstractApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "aca" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "has had context set" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "aca-prototype" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "father" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Dad has correct name" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Albert" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Destroyed" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "0 events before publication" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "1 events after publication, not " appears 2 times in the file. 161

spring-framework/spring-context/src/test/java/org/springframework/context/BeanThatBroadcasts.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "listener" appears 2 times in the file. 32

spring-framework/spring-context/src/test/java/org/springframework/context/access/ContextBeanFactoryReferenceTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 43

spring-framework/spring-context/src/test/java/org/springframework/context/access/ContextJndiBeanFactoryLocatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 142

spring-framework/spring-context/src/test/java/org/springframework/context/access/ContextSingletonBeanFactoryLocatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "classpath*:" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "a.qualified.name.of.some.sort" appears 3 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "another.qualified.name" appears 3 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71

spring-framework/spring-context/src/test/java/org/springframework/context/access/DefaultLocatorFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 34
 Warning extension MultipleStringLiteralsExtended The String "my-bean-refs.xml" appears 2 times in the file. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/AbstractCircularImportDetectionTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 42
 Warning extension MultipleStringLiteralsExtended The String "Wrong message. Got: " appears 2 times in the file. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/AnnotationBeanNameGeneratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The generated beanName must *never* be null." appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "The generated beanName must *never* be blank." appears 4 times in the file. 58

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 89
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/AnnotationProcessorPerformanceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 12 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "prototype" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Prototype creation took too long: " appears 4 times in the file. 69

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/AnnotationScopeMetadataResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "resolveScopeMetadata(..) must *never* return null." appears 7 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "request" appears 5 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 122
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 127

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/AutoProxyLazyInitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myBean" appears 5 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/BeanMethodPolymorphismTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 14 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension MultipleStringLiteralsExtended The String "overridden" appears 6 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "config" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleStringLiteralsExtended The String "regular" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "anInt" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "overloaded5" appears 4 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension MultipleStringLiteralsExtended The String "aString" appears 8 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension MultipleStringLiteralsExtended The String "shadow" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "overloaded" appears 4 times in the file. 240

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ClassPathBeanDefinitionScannerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "serviceInvocationCounter" appears 13 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "fooServiceImpl" appears 16 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "stubFooDao" appears 15 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "myNamedComponent" appears 14 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "myNamedDao" appears 16 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "thoreau" appears 3 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "otherFooDao" appears 3 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension MultipleStringLiteralsExtended The String "messageBean" appears 3 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 313
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 329
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension MultipleStringLiteralsExtended The String "fooService" appears 5 times in the file. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 347
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 349
 Warning extension MultipleStringLiteralsExtended The String "myBf" appears 2 times in the file. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 451

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ClassPathFactoryBeanDefinitionScannerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "clientBean" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "publicInstance" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "protectedInstance" appears 5 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "privateInstance" appears 3 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProviderTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension MultipleStringLiteralsExtended The String "other" appears 5 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "dev" appears 2 times in the file. 262

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean" appears 30 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 6 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 7 times in the file. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension MultipleStringLiteralsExtended The String "testBean4" appears 6 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 3 times in the file. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension MultipleStringLiteralsExtended The String "testBean3" appears 5 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean2" appears 4 times in the file. 311
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean3" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "xy" appears 5 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "testBean9" appears 3 times in the file. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 380
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension MultipleStringLiteralsExtended The String "Already called" appears 11 times in the file. 450
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 478
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension MultipleStringLiteralsExtended The String "Resources not injected" appears 3 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "Superclass destroy called too soon" appears 2 times in the file. 532

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fooServiceImpl" appears 6 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "config class bean not found" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "componentScanAnnotatedConfig" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "@ComponentScan annotated @Configuration class registered directly against " appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "AnnotationConfigApplicationContext did not trigger component scanning as expected" appears 4 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension MultipleStringLiteralsExtended The String "componentScanParserTests.KustomAnnotationAutowiredBean" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "myScope" appears 3 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "scopedProxyTestBean" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 181

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationRecursionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "level1Bean" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "level2Bean" appears 2 times in the file. 51

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanParserBeanDefinitionDefaultsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "defaultWithNoOverridesTests.xml" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "lazy-init should be false" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "initCount should be 0" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "bean should have been instantiated" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "no dependencies should have been autowired" appears 6 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "property dependencies should not have been autowired" appears 4 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "constructor dependency should not have been autowired" appears 3 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "property dependencies should have been autowired" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "bean should not have been initialized" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "bean should not have been destroyed" appears 2 times in the file. 190

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanParserScopedProxyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myScope" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "scopedProxyTestBean" appears 4 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanParserTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "fooServiceImpl" appears 4 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "stubFooDao" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "scopedProxyTestBean" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "basePackage" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "scanInclude" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "scanExclude" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 106

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanParserWithUserDefinedStrategiesTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "config" appears 9 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 11 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "XML or something" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "consumer" appears 2 times in the file. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension MultipleStringLiteralsExtended The String "expected exception" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean" appears 10 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "configClass" appears 10 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "Repository<String>" appears 6 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "Repository<Integer>" appears 6 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "genericRepo" appears 3 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "&repoFactoryBean" appears 3 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "repoConsumer" appears 4 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 2 times in the file. 454
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension MultipleStringLiteralsExtended The String "Circular reference" appears 2 times in the file. 457
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 468
 Warning extension MultipleStringLiteralsExtended The String "Repository<Object>" appears 2 times in the file. 609

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassSpr8954Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fooConfig" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "&foo" appears 7 times in the file. 52

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassWithConditionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "bean1" appears 6 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "bean2" appears 2 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "configurationClassWithConditionTests.BeanTwoConfiguration" appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "bean3" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 133

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationWithFactoryBeanAndAutowiringTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "DummyBean was not injected." appears 6 times in the file. 145

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/DestroyMethodInferenceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "c3" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "c4" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "c5" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "c6" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "c7" appears 2 times in the file. 47

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/EnableAspectJAutoProxyTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/EnableLoadTimeWeavingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "loadTimeWeaver" appears 4 times in the file. 41

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ImportAwareTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "importedConfigBean" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "import metadata was not injected" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "registrarImportedBean" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "otherImportedConfigBean" appears 2 times in the file. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 284

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ImportSelectorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 80

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/LazyAutowiredAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "annotatedBean" appears 4 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 46
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Already called" appears 3 times in the file. 157

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/NestedConfigurationClassTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "l0Bean" appears 9 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "l1Bean" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "l2Bean" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "overrideBean" appears 9 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "override-l1" appears 3 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "override-l0" appears 4 times in the file. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "override-s1" appears 7 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension MultipleStringLiteralsExtended The String "prototypeBean" appears 6 times in the file. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension MultipleStringLiteralsExtended The String "l0" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "l1" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "l2" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "override-l2" appears 2 times in the file. 247

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/PropertySourceAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "property source p1 was not added" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "p1TestBean" appears 6 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "p2TestBean" appears 8 times in the file. 102
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "path.to.properties" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/context/annotation" appears 2 times in the file. 138
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension MultipleStringLiteralsExtended The String "from.p1" appears 6 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "from.p2" appears 6 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "testbean.name" appears 16 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "myTestBean" appears 2 times in the file. 244

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/ReflectionUtilsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "m1" appears 2 times in the file. 44

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/RoleAndDescriptionAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected bean to have ROLE_APPLICATION" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Expected bean to have ROLE_INFRASTRUCTURE" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "componentWithoutRole" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "componentWithRole" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "A Component with a role" appears 2 times in the file. 60

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/SimpleConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/SimpleScanTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/Spr11202Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 53

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/Spr11310Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "second" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "first" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "unknownOrder" appears 3 times in the file. 40

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/Spr3775InitDestroyLifecycleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "afterPropertiesSet" appears 10 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "destroy" appears 10 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "init-methods" appears 6 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "destroy-methods" appears 6 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "customInit" appears 7 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "customDestroy" appears 7 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "InitializingBean.afterPropertiesSet" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "DisposableBean.destroy" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "postConstruct" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "preDestroy" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "@PostConstruct.afterPropertiesSet" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "@PreDestroy.destroy" appears 2 times in the file. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 257

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/AutowiredConfigurationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "RED-RED" appears 2 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 94
 Warning extension MultipleStringLiteralsExtended The String "myProp" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 3 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 187
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 197

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/BeanMethodQualificationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "testBean1" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "interesting" appears 11 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "boring" appears 8 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ConfigurationBeanNameTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "outer" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "imported" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "nestedBean" appears 3 times in the file. 51

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ConfigurationClassAspectIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "advisedName" appears 3 times in the file. 61

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ConfigurationClassProcessingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "config" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "customName" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "methodName" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "bean should not have been registered with 'methodName'" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 2 times in the file. 112
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 145
 Warning extension MultipleStringLiteralsExtended The String "stringBean" appears 4 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension MultipleStringLiteralsExtended The String "factoryBean" appears 4 times in the file. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension MultipleStringLiteralsExtended The String "&factoryBean" appears 7 times in the file. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 3 times in the file. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 256
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 268
 Warning extension MultipleStringLiteralsExtended The String "-processed-" appears 2 times in the file. 340

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ConfigurationClassWithPlaceholderConfigurerBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 54
 Warning extension MultipleStringLiteralsExtended The String "test.name" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 58

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportAnnotationDetectionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean1" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "2a" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 82

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportResourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "did not contain java-declared bean" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "javaDeclaredBean" appears 6 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "did not contain xml-declared bean" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "xmlDeclaredBean" appears 8 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 3 times in the file. 57
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 60
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String "propertiesDeclaredBean" appears 2 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "config" appears 2 times in the file. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 155
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 165
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 209
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 302
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 341

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportWithConditionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension MultipleStringLiteralsExtended The String "beanTwo" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "beanOne" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportedConfigurationClassEnhancementTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 80

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/PackagePrivateBeanMethodInheritanceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 42

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/ScopingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "scopedClass" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "scopedInterface" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "scopedProxyInterface" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "scopedTarget." appears 3 times in the file. 155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "scoped bean is not wrapped by the scoped-proxy" appears 2 times in the file. 164
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 235
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 341

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/Spr10744Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 48

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/Spr12526Tests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 65

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/configuration/Spr7167Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someDependency" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "post processed by MyPostProcessor" appears 2 times in the file. 41

spring-framework/spring-context/src/test/java/org/springframework/context/annotation/spr10546/Spr10546Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myBean" appears 4 times in the file. 68

spring-framework/spring-context/src/test/java/org/springframework/context/annotation4/FactoryMethodComponent.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "publicInstance" appears 2 times in the file. 46

spring-framework/spring-context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "No PropertyPlaceholderConfigurer found" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "No properties replaced" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "spam" appears 5 times in the file. 63

spring-framework/spring-context/src/test/java/org/springframework/context/conversionservice/ConversionServiceContextConfigTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37

spring-framework/spring-context/src/test/java/org/springframework/context/event/ApplicationContextEventTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 99
 Warning extension MultipleStringLiteralsExtended The String "listener1" appears 5 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "listener2" appears 4 times in the file. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension MultipleStringLiteralsExtended The String "nestedChild" appears 2 times in the file. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension MultipleStringLiteralsExtended The String "listener" appears 3 times in the file. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension MultipleStringLiteralsExtended The String "broadcaster" appears 3 times in the file. 257
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 351

spring-framework/spring-context/src/test/java/org/springframework/context/event/EventPublicationInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 66
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 74
 Warning extension MultipleStringLiteralsExtended The String "publisher" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "Interceptor must have published 2 events" appears 2 times in the file. 113

spring-framework/spring-context/src/test/java/org/springframework/context/event/LifecycleEventTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "lifecycle" appears 4 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "listener" appears 4 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 86

spring-framework/spring-context/src/test/java/org/springframework/context/expression/ApplicationContextExpressionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myScope" appears 7 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "tb0" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "#{mySpecialAttr}" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "country" appears 15 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "tb3" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "tb4" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "tb5" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "tb6" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "UK" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "XXXmyNameYYY42ZZZ" appears 5 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "123 UK" appears 10 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "#{systemProperties.country}" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "juergen1" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "juergen2" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "NL" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "str" appears 2 times in the file. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312

spring-framework/spring-context/src/test/java/org/springframework/context/expression/EnvironmentAccessorIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myBean" appears 2 times in the file. 50

spring-framework/spring-context/src/test/java/org/springframework/context/groovy/GroovyApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/context/groovy/applicationContext.groovy" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "framework" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "could not find framework bean" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Grails" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "company" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "could not find company bean" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "SpringSource" appears 2 times in the file. 54
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72

spring-framework/spring-context/src/test/java/org/springframework/context/i18n/LocaleContextHolderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GMT+1" appears 10 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "GMT+2" appears 8 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145

spring-framework/spring-context/src/test/java/org/springframework/context/support/ApplicationContextLifecycleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "lifecycleTests.xml" appears 4 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "bean1" appears 4 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "bean2" appears 4 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "bean3" appears 4 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "bean4" appears 4 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "bean was not started" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "bean was not stopped" appears 2 times in the file. 58

spring-framework/spring-context/src/test/java/org/springframework/context/support/Assembler.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 33
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 37

spring-framework/spring-context/src/test/java/org/springframework/context/support/BeanFactoryPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 6 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "bfpp" appears 5 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "bfpp1" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 131

spring-framework/spring-context/src/test/java/org/springframework/context/support/ClassPathXmlApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "simpleContext.xml" appears 2 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "someMessageSource" appears 18 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "service" appears 12 times in the file. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "logicOne" appears 7 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "logicTwo" appears 7 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "useCodeAsDefaultMessage" appears 2 times in the file. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension MultipleStringLiteralsExtended The String "yourMessageSource" appears 6 times in the file. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension MultipleStringLiteralsExtended The String "myMessageSource" appears 12 times in the file. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension MultipleStringLiteralsExtended The String "contexttest" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension MultipleStringLiteralsExtended The String "testContext" appears 2 times in the file. 383
 Warning extension MultipleStringLiteralsExtended The String "Test Context" appears 2 times in the file. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394

spring-framework/spring-context/src/test/java/org/springframework/context/support/ConversionServiceFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 3 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139

spring-framework/spring-context/src/test/java/org/springframework/context/support/DefaultLifecycleProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "lifecycleProcessor" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "timeoutPerShutdownPhase" appears 2 times in the file. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 9 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125
 Warning extension MultipleStringLiteralsExtended The String "dependency" appears 2 times in the file. 132
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension MultipleStringLiteralsExtended The String "bean3" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "beanMin" appears 7 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "bean2" appears 10 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "beanMax" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "bean1" appears 6 times in the file. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 181
 Warning extension MultipleStringLiteralsExtended The String "simpleBean1" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "smartBean1" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "simpleBean2" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "smartBean2" appears 2 times in the file. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 215
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 258
 Warning extension MultipleStringLiteralsExtended The String "bean4" appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "bean5" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "bean6" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "bean7" appears 8 times in the file. 273
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 297
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 303
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 313
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 349
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 350
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 367
 Warning extension MultipleStringLiteralsExtended The String "bean99" appears 5 times in the file. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 380
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 397
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 414
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 416
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 422
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 423
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 424
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 439
 Warning extension MultipleStringLiteralsExtended The String "beanNegative" appears 3 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "simpleBean" appears 8 times in the file. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 458
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 489
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 490
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 497
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 499
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 500
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 512
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 522
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 523
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 524
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 536
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 551
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 552
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 553
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 554
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 556
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 558
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 559
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 560
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 561
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 562
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 595
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 639

spring-framework/spring-context/src/test/java/org/springframework/context/support/EnvironmentSecurityManagerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "getenv.*" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Accessing the system environment is disallowed" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 2 times in the file. 81

spring-framework/spring-context/src/test/java/org/springframework/context/support/GenericApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 43

spring-framework/spring-context/src/test/java/org/springframework/context/support/Logic.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 28

spring-framework/spring-context/src/test/java/org/springframework/context/support/PropertyResourceConfigurerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "${ref}" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "location" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "configurer" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanInitializationException" appears 3 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "user.dir" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "name${var}" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "configurer1" appears 3 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanDefinitionStoreException" appears 3 times in the file. 131
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 175

spring-framework/spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 14 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "name" appears 13 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "${my.name}" appears 13 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "my.name" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "local" appears 3 times in the file. 146
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 153
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 180
 Warning extension MultipleStringLiteralsExtended The String "${bogus}" appears 3 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "${foo}" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "enclosing" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "${key2}" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "systemKey1Value" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "customNull" appears 2 times in the file. 288

spring-framework/spring-context/src/test/java/org/springframework/context/support/ResourceBundleMessageSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "classpath:" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "messages" appears 8 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "more-messages" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "message1" appears 14 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "code1" appears 21 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "nachricht2" appears 14 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "message2" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "code2" appears 20 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "nochricht2" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "DE" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "at" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "message3" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "code3" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "code4" appears 4 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 3 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "default" appears 10 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "{0}, default" appears 6 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Hello, default" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "I'm" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "escaped" appears 3 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NoSuchMessageException" appears 4 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/context/support/messages" appears 13 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String " org/springframework/context/support/messages " appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "ISO-8859-1" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "warning" appears 3 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "unicode" appears 4 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/context/support/messages_de" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "messages_en" appears 4 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "messages_en_GB" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "en" appears 2 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "POSIX" appears 4 times in the file. 380
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409

spring-framework/spring-context/src/test/java/org/springframework/context/support/SimpleThreadScopeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "threadScopedObject" appears 3 times in the file. 38

spring-framework/spring-context/src/test/java/org/springframework/context/support/Spr7283Tests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46

spring-framework/spring-context/src/test/java/org/springframework/context/support/StaticApplicationContextMulticasterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 50

spring-framework/spring-context/src/test/java/org/springframework/context/support/StaticApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 46

spring-framework/spring-context/src/test/java/org/springframework/context/support/StaticMessageSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "This is a test message in the message catalog with no args." appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "message.format.example2" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "This is a default msg if not found in MessageSource." appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "bogus.message" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "a disturbance in the Force" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "message.format.example1" appears 7 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "there was \"a disturbance in the Force\" on planet 7." appears 2 times in the file. 98
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 120
 Warning extension MultipleStringLiteralsExtended The String "message.format.example3" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "default" appears 4 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "correct message retrieved" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "Should not throw NoSuchMessageException" appears 3 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "message.format.example99" appears 3 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "message.format.example98" appears 2 times in the file. 178
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 204
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 227
 Warning extension MultipleStringLiteralsExtended The String "param" appears 4 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "with.param" appears 4 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "put {0} here" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "put value here" appears 2 times in the file. 248

spring-framework/spring-context/src/test/java/org/springframework/ejb/access/LocalSlsbInvokerInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 6 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141

spring-framework/spring-context/src/test/java/org/springframework/ejb/access/LocalStatelessSessionProxyFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/" appears 3 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "Should have failed to create EJB" appears 2 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177

spring-framework/spring-context/src/test/java/org/springframework/ejb/access/SimpleRemoteSlsbInvokerInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 11 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RemoteException" appears 2 times in the file. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 349

spring-framework/spring-context/src/test/java/org/springframework/ejb/access/SimpleRemoteStatelessSessionProxyFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/" appears 3 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "Returns expected value" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension MultipleStringLiteralsExtended The String "Should have failed to create EJB" appears 3 times in the file. 196
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274

spring-framework/spring-context/src/test/java/org/springframework/ejb/config/JeeNamespaceHandlerEventTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67

spring-framework/spring-context/src/test/java/org/springframework/ejb/config/JeeNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jndiName" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "jdbc/MyDataSource" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "resourceRef" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "true" appears 13 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "defaultObject" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "jndiEnvironment" appears 4 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "foo=bar" appears 3 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "businessInterface" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "ejb/MyLocalBean" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "ejb/MyRemoteBean" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "cacheHome" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "lookupHomeOnStartup" appears 2 times in the file. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141

spring-framework/spring-context/src/test/java/org/springframework/format/datetime/DateFormatterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Jun 1, 2009" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "2009-06-01" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "6/1/09" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "June 1, 2009" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Monday, June 1, 2009" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "14:23:05.003+0000" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "2009-06-01T14:23:05.003+0000" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "-" appears 3 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "2009" appears 2 times in the file. 188

spring-framework/spring-context/src/test/java/org/springframework/format/datetime/DateFormattingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "10/31/09 12:00 PM" appears 5 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "dateAnnotated" appears 8 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "10/31/09" appears 8 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Oct X31, 2009" appears 2 times in the file. 105
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 112
 Warning extension MultipleStringLiteralsExtended The String "Oct 031, 2009" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "calendar" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "calendarAnnotated" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "millis" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "1256961600" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "millisAnnotated" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "isoDate" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "isoTime" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "isoDateTime" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "children[0].dateAnnotated" appears 2 times in the file. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268

spring-framework/spring-context/src/test/java/org/springframework/format/datetime/joda/DateTimeFormatterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "yyyyMMddHHmmss" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "20091021121000" appears 2 times in the file. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95

spring-framework/spring-context/src/test/java/org/springframework/format/datetime/joda/JodaTimeFormattingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MM" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "localDate" appears 7 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "10/31/09" appears 9 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "October 31, 2009" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "20091031" appears 2 times in the file. 123
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 132
 Warning extension MultipleStringLiteralsExtended The String "localDateAnnotated" appears 10 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "Oct 31, 2009" appears 6 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "Oct 031, 2009" appears 4 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "children[0].localDateAnnotated" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "localTime" appears 6 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "12:00 PM" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "12:00:00 PM" appears 4 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "130000" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "localTimeAnnotated" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "localDateTime" appears 4 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "10/31/09 12:00 PM" appears 16 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "localDateTimeAnnotated" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "Oct 31, 2009 12:00 PM" appears 4 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "dateTime" appears 6 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "Oct 31, 2009 12:00:00 PM" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31T12:00:00.000Z" appears 4 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31T07:00:00.000-05:00" appears 5 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "20091031130000" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "dateTimeAnnotated" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "dateTimeAnnotatedPattern" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "dateTimeAnnotatedDefault" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "date" appears 5 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "Sat, 12 Aug 1995 13:30:00 GMT" appears 3 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "dateAnnotated" appears 2 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "calendar" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "calendarAnnotated" appears 2 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "millis" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "1256961600" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "millisAnnotated" appears 2 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "isoDate" appears 2 times in the file. 391
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31" appears 2 times in the file. 391
 Warning extension MultipleStringLiteralsExtended The String "isoTime" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "isoDateTime" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "instant" appears 2 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "instantAnnotated" appears 2 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "mutableDateTime" appears 2 times in the file. 436
 Warning extension MultipleStringLiteralsExtended The String "mutableDateTimeAnnotated" appears 2 times in the file. 445
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 550

spring-framework/spring-context/src/test/java/org/springframework/format/datetime/standard/DateTimeFormatterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "yyyyMMddHHmmss" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "20091021121000" appears 2 times in the file. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96

spring-framework/spring-context/src/test/java/org/springframework/format/datetime/standard/DateTimeFormattingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "localDate" appears 9 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "10/31/09" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "October 31, 2009" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "20091031" appears 2 times in the file. 114
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123
 Warning extension MultipleStringLiteralsExtended The String "localDateAnnotated" appears 10 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Oct 31, 2009" appears 6 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Oct -31, 2009" appears 4 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "children[0].localDateAnnotated" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "localTime" appears 8 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "12:00 PM" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "12:00:00 PM" appears 4 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "130000" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "localTimeAnnotated" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "localDateTime" appears 6 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "10/31/09 12:00 PM" appears 6 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "localDateTimeAnnotated" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "Oct 31, 2009 12:00:00 PM" appears 4 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "dateTimeAnnotatedPattern" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "isoDate" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "isoTime" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "isoDateTime" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31T12:00:00.000Z" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "instant" appears 4 times in the file. 313
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31T12:00" appears 2 times in the file. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 362

spring-framework/spring-context/src/test/java/org/springframework/format/number/CurrencyFormatterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "23.56" appears 2 times in the file. 42
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 61

spring-framework/spring-context/src/test/java/org/springframework/format/number/NumberFormatterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "23.56" appears 4 times in the file. 36
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 44
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 49

spring-framework/spring-context/src/test/java/org/springframework/format/number/NumberFormattingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "numberDefault" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "3,339.12" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "numberDefaultAnnotated" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "currency" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "$3,339.12" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "percent" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "53%" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "1,25.00" appears 13 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "2,35.00" appears 11 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "patternArray[0]" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "patternArray[1]" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "patternList[0]" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "patternList[1]" appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "patternList2[0]" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "patternList2[1]" appears 3 times in the file. 158

spring-framework/spring-context/src/test/java/org/springframework/format/number/PercentFormatterTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 50

spring-framework/spring-context/src/test/java/org/springframework/format/support/FormattingConversionServiceFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "percent" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "5%" appears 3 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension MultipleStringLiteralsExtended The String "5" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String ":5" appears 2 times in the file. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167

spring-framework/spring-context/src/test/java/org/springframework/format/support/FormattingConversionServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "10/31/09" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "valueBean" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "conversionService" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "ppc" appears 3 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "myDate" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "myNumber" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "dateStyle" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "S-" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "datePattern" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "M-d-yy" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "formattingService" appears 3 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 201
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 207
 Warning extension MultipleStringLiteralsExtended The String "dates" appears 5 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "10-31-09,11-1-09,11-2-09" appears 3 times in the file. 213
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 265
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 271

spring-framework/spring-context/src/test/java/org/springframework/instrument/classloading/ReflectiveLoadTimeWeaverTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 39
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 57
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 84

spring-framework/spring-context/src/test/java/org/springframework/jmx/AbstractJmxTests.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 50

spring-framework/spring-context/src/test/java/org/springframework/jmx/JmxTestBean.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 4 times in the file. 71
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 105
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 114

spring-framework/spring-context/src/test/java/org/springframework/jmx/access/MBeanClientInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 5 times in the file. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 91
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 227
 Warning extension RedundantReturn Redundant return. 233
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 244

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/CustomEditorConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "startDate " appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "endDate " appears 2 times in the file. 51

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/ExceptionOnInitBean.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 40

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/LazyInitMBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/MBeanExporterOperationsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "spring:name=Foo" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "spring:type=Test" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Bean 1 not registered with MBeanServer" appears 2 times in the file. 89

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/MBeanExporterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension MultipleStringLiteralsExtended The String "spring:type=Test" appears 2 times in the file. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension MultipleStringLiteralsExtended The String "The bean was not registered with the MBeanServer" appears 2 times in the file. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension MultipleStringLiteralsExtended The String "spring:name=dynBean" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 8 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 8 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "autodetectMBeans.xml" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "exporter" appears 4 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "server" appears 3 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "spring:mbean=true" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "Invalid name returned" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "Juergen Hoeller" appears 2 times in the file. 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 271
 Warning extension MultipleStringLiteralsExtended The String "Sally Greenwood" appears 3 times in the file. 294
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 298
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 330
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 356
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 386
 Warning extension MultipleStringLiteralsExtended The String "spring:type=TestBean" appears 4 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "Bean not autodetected in (AUTODETECT_ALL) mode" appears 2 times in the file. 436
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 473
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 529
 Warning extension MultipleStringLiteralsExtended The String "charlesDexterWard" appears 2 times in the file. 569
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 579
 Warning extension MultipleStringLiteralsExtended The String "test:what=ever" appears 2 times in the file. 580
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 601
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 629
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 639
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 675
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 703
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 705
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 765

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/NotificationListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "spring:name=Test" appears 14 times in the file. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 9 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Listener not notified" appears 8 times in the file. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension MultipleStringLiteralsExtended The String "Age" appears 13 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 210
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension MultipleStringLiteralsExtended The String "Should have registered MBean" appears 6 times in the file. 232
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 250
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 281
 Warning extension MultipleStringLiteralsExtended The String "Listener should have been notified exactly once" appears 2 times in the file. 298
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 313
 Warning extension MultipleStringLiteralsExtended The String "spring:name=Test2" appears 3 times in the file. 340
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 352
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 382
 Warning extension MultipleStringLiteralsExtended The String "Listener notified after destruction" appears 2 times in the file. 407
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 417

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/NotificationPublisherTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/jmx/export/notificationPublisherTests.xml" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "spring:type=Publisher" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "publisher" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "NotificationPublisher should not be null" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Notification not sent" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "spring:type=Publisher2" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 162
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 185
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 190

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/PropertyPlaceholderConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 43

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/TestDynamicMBean.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 54
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/annotation/AnnotationLazyInitMBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "server" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "bean:name=testBean4" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Invalid name returned" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "TEST" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "domain" appears 2 times in the file. 50

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/annotation/AnnotationTestBean.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 84
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 88

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/annotation/EnableMBeanExportConfigurationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "server" appears 6 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "bean:name=testBean4" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Name" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Invalid name returned" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "TEST" appears 8 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "domain" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Juergen Hoeller" appears 2 times in the file. 127

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/annotation/JmxUtilsAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MXBean annotation not detected correctly" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 59

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/AbstractJmxAssemblerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "John Smith" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Incorrect result" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "int" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "getMethod" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "setMethod" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "getName" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "setName" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "visibility" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "role" appears 2 times in the file. 169

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/AbstractMetadataAssemblerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Attribute should not be null" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "currencyTimeLimit" appears 5 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "Persist Policy should be OnUpdate" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "OnUpdate" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "persistPolicy" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "persistPeriod" appears 4 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "Currency Time Limit should be 20" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "20" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Persist Period should be 300" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "300" appears 2 times in the file. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension MultipleStringLiteralsExtended The String "The QueueSize metric" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "units" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "displayName" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "metricType" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "metricCategory" appears 2 times in the file. 208

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/InterfaceBasedMBeanInfoAssemblerCustomTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/InterfaceBasedMBeanInfoAssemblerMappedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.jmx.export.assembler.ICustomJmxBean" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "NickName" appears 2 times in the file. 74

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/MethodExclusionMBeanInfoAssemblerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dontExposeMe" appears 2 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/MethodNameBasedMBeanInfoAssemblerMappedTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension MultipleStringLiteralsExtended The String "NickName" appears 2 times in the file. 52

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/assembler/MethodNameBasedMBeanInfoAssemblerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "setName" appears 2 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/naming/PropertiesNamingStrategyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bean:name=namingTest" appears 2 times in the file. 27
 Warning extension MultipleStringLiteralsExtended The String "namingTest" appears 2 times in the file. 33

spring-framework/spring-context/src/test/java/org/springframework/jmx/export/notification/ModelMBeanNotificationPublisherTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 38
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 53
 Warning extension MultipleStringLiteralsExtended The String "The exact same Notification is not being passed through from the publisher to the mbean." appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "The 'source' property of the Notification is not being set to the ObjectName of the associated MBean." appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Shall we break for some tea?" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "agree" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Boolean" appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 110

spring-framework/spring-context/src/test/java/org/springframework/jmx/support/JmxUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Standard MBean not detected correctly" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Incorrect casing on attribute name" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 197

spring-framework/spring-context/src/test/java/org/springframework/jmx/support/MBeanServerConnectionFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130

spring-framework/spring-context/src/test/java/org/springframework/jmx/support/MBeanServerFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 59

spring-framework/spring-context/src/test/java/org/springframework/jmx/support/RegistrationPolicyTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49

spring-framework/spring-context/src/test/java/org/springframework/jndi/JndiObjectFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/foo" appears 6 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "java:foo" appears 4 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 30 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NamingException" appears 3 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension MultipleStringLiteralsExtended The String "myFoo" appears 6 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "myString" appears 4 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 6 times in the file. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 2 times in the file. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 419

spring-framework/spring-context/src/test/java/org/springframework/jndi/JndiPropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jndiProperties" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "v1" appears 4 times in the file. 46

spring-framework/spring-context/src/test/java/org/springframework/jndi/JndiTemplateEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59

spring-framework/spring-context/src/test/java/org/springframework/jndi/JndiTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NamingException" appears 2 times in the file. 70

spring-framework/spring-context/src/test/java/org/springframework/jndi/SimpleNamingContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/jdbc/myds" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "myobject" appears 7 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Correct DataSource registered" appears 14 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Correct Object registered" appears 2 times in the file. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Correct environment" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "myinteger" appears 6 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "mystring" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "jdbc/myds" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NameNotFoundException" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "Correct Integer registered" appears 5 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Correct String registered" appears 5 times in the file. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119
 Warning extension MultipleStringLiteralsExtended The String "Correct jdbc subcontext" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "jdbc" appears 5 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "mydsX" appears 5 times in the file. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension MultipleStringLiteralsExtended The String "myds" appears 4 times in the file. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NamingException" appears 2 times in the file. 196

spring-framework/spring-context/src/test/java/org/springframework/remoting/rmi/RmiSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "rmi://localhost:1090/test" appears 8 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 4 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown " appears 4 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension MultipleStringLiteralsExtended The String "setName" appears 6 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 6 times in the file. 331
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 453

spring-framework/spring-context/src/test/java/org/springframework/remoting/support/RemoteInvocationUtilsTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 30

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/AnnotationAsyncExecutionInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "m" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "qMethod" appears 2 times in the file. 41

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "target" appears 9 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "testExecutor" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "executor" appears 2 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "exceptionHandler" appears 5 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "handler should not have been called yet" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "failWithVoid" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Handler should not have been called" appears 2 times in the file. 165
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 184
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 188
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 261

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncExecutionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "asyncTest" appears 33 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "autoProxyCreator" appears 12 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "asyncAdvisor" appears 12 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "20" appears 17 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "e0" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "e1" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "e2" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "30" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "asyncProcessor" appears 6 times in the file. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 395
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 476
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 536
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 541
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 561
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 611

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/EnableAsyncTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "e1-" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "otherExecutor-" appears 3 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 218
 Warning extension MultipleStringLiteralsExtended The String "Custom-" appears 2 times in the file. 245

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "explicitScheduler-" appears 2 times in the file. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 135
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 139
 Warning extension MultipleStringLiteralsExtended The String "explicitScheduler1" appears 5 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "explicitScheduler2" appears 4 times in the file. 162
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 262
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 266
 Warning extension MultipleStringLiteralsExtended The String "explicitScheduler2-" appears 4 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "explicitScheduler1-" appears 2 times in the file. 337

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "postProcessor" appears 30 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "target" appears 30 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "registrar" appears 12 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "fixedDelayTasks" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "fixedDelay" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "fixedRateTasks" appears 5 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "fixedRate" appears 6 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "cronTasks" appears 5 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "cron" appears 2 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 272
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 285
 Warning extension MultipleStringLiteralsExtended The String "0 0 9-17 * * MON-FRI" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "schedules.businessHours" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 4 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "placeholder" appears 4 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "initialDelay" appears 2 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "1000" appears 2 times in the file. 382
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 469
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 479
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 489
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 499
 Warning extension MultipleStringLiteralsExtended The String "no no no" appears 3 times in the file. 560

spring-framework/spring-context/src/test/java/org/springframework/scheduling/annotation/TestableAsyncUncaughtExceptionHandler.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 71

spring-framework/spring-context/src/test/java/org/springframework/scheduling/concurrent/ScheduledExecutorFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 65
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 102
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 143
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 152
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 172
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 204
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 222

spring-framework/spring-context/src/test/java/org/springframework/scheduling/concurrent/ThreadPoolTaskSchedulerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 96
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 159
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension MultipleStringLiteralsExtended The String "intentional test failure" appears 2 times in the file. 248

spring-framework/spring-context/src/test/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50

spring-framework/spring-context/src/test/java/org/springframework/scheduling/config/ExecutorBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 5 times in the file. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 62
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141

spring-framework/spring-context/src/test/java/org/springframework/scheduling/config/LazyScheduledTasksBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 42
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 44
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 44

spring-framework/spring-context/src/test/java/org/springframework/scheduling/config/ScheduledTasksBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fixedRateTasks" appears 2 times in the file. 69

spring-framework/spring-context/src/test/java/org/springframework/scheduling/config/SchedulerBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "poolSize" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "customScheduler" appears 2 times in the file. 52

spring-framework/spring-context/src/test/java/org/springframework/scheduling/support/CronSequenceGeneratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*/15 * 1-4 * * *" appears 2 times in the file. 34

spring-framework/spring-context/src/test/java/org/springframework/scheduling/support/CronTriggerTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension MultipleStringLiteralsExtended The String "CET" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "* * * * * *" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "10 * * * * *" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "11 * * * * *" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "0 0 * * * *" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "0 0 0 * * *" appears 4 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "* * * 10 * *" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "0 0 0 1 * *" appears 3 times in the file. 315
 Warning extension MultipleStringLiteralsExtended The String "* * * * * 2" appears 2 times in the file. 382
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 491
 Warning extension MultipleStringLiteralsExtended The String "* * * * * 0" appears 2 times in the file. 582
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 608
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 613
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 618
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 623
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 628
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 633
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 638
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 643
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 648
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 653
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 658
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 663

spring-framework/spring-context/src/test/java/org/springframework/scheduling/support/PeriodicTriggerTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199

spring-framework/spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptEvaluatorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

spring-framework/spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bshContext.xml" appears 6 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "calculator" appears 3 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "messenger" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Scripted object should not be instance of Refreshable" appears 3 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "Hello World!" appears 15 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Message is incorrect" appears 4 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "messengerWithConfig" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "messengerWithConfigExtra" appears 2 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension MultipleStringLiteralsExtended The String "messengerInstance" appears 4 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension MultipleStringLiteralsExtended The String "messengerImpl" appears 4 times in the file. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "messengerPrototype" appears 6 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "Bye World!" appears 6 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "Byebye World!" appears 7 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "bshRefreshableContext.xml" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Should be a proxy for refreshable scripts" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "Should be an instance of Refreshable" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "Incorrect refresh count" appears 2 times in the file. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension MultipleStringLiteralsExtended The String "Must have thrown exception by this point." appears 3 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "bsh-with-xsd.xml" appears 5 times in the file. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292

spring-framework/spring-context/src/test/java/org/springframework/scripting/config/ScriptingDefaultsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

spring-framework/spring-context/src/test/java/org/springframework/scripting/groovy/GroovyAspectIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 4 times in the file. 42
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 44
 Warning extension MultipleStringLiteralsExtended The String "groovyBean" appears 3 times in the file. 54
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 62
 Warning extension MultipleStringLiteralsExtended The String "GroovyServiceImpl" appears 3 times in the file. 63
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 80

spring-framework/spring-context/src/test/java/org/springframework/scripting/groovy/GroovyAspectTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GroovyServiceImpl.grv" appears 8 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "GroovyServiceImpl" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "@within(%s.Log)" appears 2 times in the file. 69

spring-framework/spring-context/src/test/java/org/springframework/scripting/groovy/GroovyClassLoadingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "myMethod" appears 2 times in the file. 42

spring-framework/spring-context/src/test/java/org/springframework/scripting/groovy/GroovyScriptEvaluatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "return 3 * 2" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "simple.groovy" appears 2 times in the file. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "return a * b" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Groovy" appears 2 times in the file. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80

spring-framework/spring-context/src/test/java/org/springframework/scripting/groovy/GroovyScriptFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "groovyContext.xml" appears 6 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "calculator" appears 4 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "messenger" appears 7 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't get proxy when refresh is disabled" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Scripted object should not be instance of Refreshable" appears 5 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "Hello World!" appears 15 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Message is incorrect" appears 4 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "messengerPrototype" appears 6 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Bye World!" appears 6 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Byebye World!" appears 7 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension MultipleStringLiteralsExtended The String "messengerInstance" appears 2 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "messengerInstanceInline" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "groovyRefreshableContext.xml" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "Should be a proxy for refreshable scripts" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Should be an instance of Refreshable" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "Incorrect refresh count" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "someName" appears 3 times in the file. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 247
 Warning extension MultipleStringLiteralsExtended The String "Must have thrown exception by this point." appears 3 times in the file. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension MultipleStringLiteralsExtended The String "a script source locator (doesn't matter here)" appears 2 times in the file. 298
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 314
 Warning extension MultipleStringLiteralsExtended The String "groovy-with-xsd.xml" appears 5 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "getMessageAspect" appears 2 times in the file. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 322
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension MultipleStringLiteralsExtended The String "refreshableMessenger" appears 4 times in the file. 361
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 380
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 397
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension MultipleStringLiteralsExtended The String "Gotcha" appears 2 times in the file. 460
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 478
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 480

spring-framework/spring-context/src/test/java/org/springframework/scripting/groovy/LogUserAdvice.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "***********************************************************************************" appears 2 times in the file. 22

spring-framework/spring-context/src/test/java/org/springframework/scripting/jruby/AdvisedJRubyScriptFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "messenger" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Bean is not a proxy" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Bean is not an Advised object" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "advice" appears 2 times in the file. 57

spring-framework/spring-context/src/test/java/org/springframework/scripting/jruby/JRubyScriptFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jrubyContext.xml" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "calculator" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "messenger" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Scripted object should not be instance of Refreshable" appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "Hello World!" appears 9 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "Must have thrown exception by this point." appears 5 times in the file. 104
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 143
 Warning extension MultipleStringLiteralsExtended The String "jruby-with-xsd.xml" appears 5 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "messengerPrototype" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "Bye World!" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "Byebye World!" appears 2 times in the file. 177
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension MultipleStringLiteralsExtended The String "adder" appears 2 times in the file. 220
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension MultipleStringLiteralsExtended The String "ri" appears 2 times in the file. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 252
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 270
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 276

spring-framework/spring-context/src/test/java/org/springframework/scripting/support/ResourceScriptSourceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension MultipleStringLiteralsExtended The String "ResourceScriptSource must start off in the 'isModified' state (it obviously isn't)." appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "ResourceScriptSource must not report back as being modified if the underlying File resource is not reporting a changed lastModified time." appears 3 times in the file. 63

spring-framework/spring-context/src/test/java/org/springframework/scripting/support/ScriptFactoryPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "messenger" appears 7 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "class GroovyMessenger implements Messenger {\n" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String " private String message = \"Bingo\"\n" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String " public String getMessage() {\n" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String " public void setMessage(String message) {\n" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String " this.message = message\n" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "}" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "inline:package org.springframework.scripting;\n" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "collaborator" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "needsMessenger" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "scriptProcessor" appears 2 times in the file. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217

spring-framework/spring-context/src/test/java/org/springframework/tests/context/SimpleMapScope.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40

spring-framework/spring-context/src/test/java/org/springframework/tests/mock/jndi/ExpectedLookupTemplate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension OverridableMethodInConstructor Overridable method 'addObject' is called in constructor body. 52

spring-framework/spring-context/src/test/java/org/springframework/tests/mock/jndi/SimpleNamingContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 97
 Warning extension ReturnCountExtended Return count for 'lookup' method is 3 (max allowed is 1). 117
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "SimpleNamingContext does not support [javax.naming.Name]" appears 14 times in the file. 227
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 305
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 311

spring-framework/spring-context/src/test/java/org/springframework/tests/mock/jndi/SimpleNamingContextBuilder.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 123
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125
 Warning extension ReturnCountExtended Return count for 'createInitialContextFactory' method is 2 (max allowed is 1). 194
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 207
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 216

spring-framework/spring-context/src/test/java/org/springframework/tests/sample/beans/Employee.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 23
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 27

spring-framework/spring-context/src/test/java/org/springframework/ui/ModelMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 13 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "bing" appears 7 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 94
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 99
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107
 Warning extension MultipleStringLiteralsExtended The String "boing" appears 2 times in the file. 107
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 123
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 132
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 153
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension MultipleStringLiteralsExtended The String "one" appears 6 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "two" appears 4 times in the file. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 179
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension MultipleStringLiteralsExtended The String "three" appears 3 times in the file. 190
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198
 Warning extension MultipleStringLiteralsExtended The String "oneOld" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "someInnerClass" appears 3 times in the file. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension MultipleStringLiteralsExtended The String "map" appears 4 times in the file. 246
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 295

spring-framework/spring-context/src/test/java/org/springframework/validation/DataBinderFieldAccessTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 11 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "age" appears 12 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "nonExisting" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "changed name correctly" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Same object" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "32x" appears 6 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BindException" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Added itself to map" appears 2 times in the file. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension MultipleStringLiteralsExtended The String "Correct number of errors" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "Has age errors" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Correct number of age errors" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 5 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 4 times in the file. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190

spring-framework/spring-context/src/test/java/org/springframework/validation/DataBinderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 26 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "name" appears 66 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 27 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "age" appears 78 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "nonExisting" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "changed name correctly" appears 8 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "There is one element in map" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "Same object" appears 4 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "on" appears 2 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 9 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "Kerry" appears 4 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NotWritablePropertyException" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "spouse.age" appears 15 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "32x" appears 14 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "touchy" appears 25 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "m.y" appears 7 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BindException" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "someOtherName" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "Added itself to map" appears 2 times in the file. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension MultipleStringLiteralsExtended The String "Correct number of errors" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "Has age errors" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "Correct number of age errors" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "Has touchy errors" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "Correct number of touchy errors" appears 2 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 15 times in the file. 267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension MultipleStringLiteralsExtended The String "object" appears 2 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "myFloat" appears 14 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "1,2" appears 4 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "1,4" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "1,6" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "1x2" appears 6 times in the file. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension MultipleStringLiteralsExtended The String "integerList[0]" appears 5 times in the file. 415
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension MultipleStringLiteralsExtended The String "myparam" appears 2 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "did not change age" appears 5 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "someMap[key1]" appears 4 times in the file. 601
 Warning extension MultipleStringLiteralsExtended The String "someMap[key2]" appears 2 times in the file. 601
 Warning extension MultipleStringLiteralsExtended The String "someMap['key3']" appears 2 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "someMap[key4]" appears 4 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 3 times in the file. 605
 Warning extension MultipleStringLiteralsExtended The String "someMap['key2']" appears 2 times in the file. 606
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 3 times in the file. 606
 Warning extension MultipleStringLiteralsExtended The String "someMap[key3]" appears 3 times in the file. 607
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 607
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 619
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 630
 Warning extension MultipleStringLiteralsExtended The String "Wrong number of errors" appears 2 times in the file. 641
 Warning extension MultipleStringLiteralsExtended The String "required" appears 6 times in the file. 643
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 33 times in the file. 697
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 2 times in the file. 702
 Warning extension MultipleStringLiteralsExtended The String "value" appears 13 times in the file. 711
 Warning extension MultipleStringLiteralsExtended The String "someCode" appears 5 times in the file. 716
 Warning extension MultipleStringLiteralsExtended The String "someMessage" appears 8 times in the file. 716
 Warning extension MultipleStringLiteralsExtended The String "prefixvalue" appears 6 times in the file. 722
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 728
 Warning extension MultipleStringLiteralsExtended The String "spouse.*" appears 3 times in the file. 728
 Warning extension MultipleStringLiteralsExtended The String "argh" appears 4 times in the file. 744
 Warning extension MultipleStringLiteralsExtended The String "my book" appears 2 times in the file. 816
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 2 times in the file. 817
 Warning extension MultipleStringLiteralsExtended The String "my other book" appears 2 times in the file. 825
 Warning extension MultipleStringLiteralsExtended The String "6789" appears 2 times in the file. 826
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 841
 Warning extension MultipleStringLiteralsExtended The String "spouse." appears 11 times in the file. 856
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 892
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 894
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 912
 Warning extension MultipleStringLiteralsExtended The String "NAME_TOUCHY_MISMATCH" appears 4 times in the file. 916
 Warning extension MultipleStringLiteralsExtended The String "GENERAL_ERROR" appears 3 times in the file. 921
 Warning extension MultipleStringLiteralsExtended The String "msg" appears 3 times in the file. 924
 Warning extension MultipleStringLiteralsExtended The String "arg" appears 3 times in the file. 925
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 927
 Warning extension MultipleStringLiteralsExtended The String "TOO_YOUNG" appears 8 times in the file. 929
 Warning extension MultipleStringLiteralsExtended The String "AGE_NOT_ODD" appears 3 times in the file. 932
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD" appears 22 times in the file. 934
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 939
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 948
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.name" appears 4 times in the file. 952
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.java.lang.String" appears 4 times in the file. 953
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 958
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 983
 Warning extension MultipleStringLiteralsExtended The String "validation.NAME_TOUCHY_MISMATCH" appears 3 times in the file. 987
 Warning extension MultipleStringLiteralsExtended The String "validation.GENERAL_ERROR" appears 2 times in the file. 992
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 998
 Warning extension MultipleStringLiteralsExtended The String "validation.TOO_YOUNG" appears 6 times in the file. 1000
 Warning extension MultipleStringLiteralsExtended The String "validation.AGE_NOT_ODD" appears 2 times in the file. 1003
 Warning extension MultipleStringLiteralsExtended The String "validation.NOT_ROD" appears 3 times in the file. 1005
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1010
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1019
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1029
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1047
 Warning extension MultipleStringLiteralsExtended The String "SPOUSE_NOT_AVAILABLE" appears 3 times in the file. 1049
 Warning extension MultipleStringLiteralsExtended The String "XXX" appears 2 times in the file. 1056
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1061
 Warning extension MultipleStringLiteralsExtended The String "set" appears 4 times in the file. 1077
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1081
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1083
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1084
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1085
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1103
 Warning extension MultipleStringLiteralsExtended The String "array" appears 6 times in the file. 1112
 Warning extension MultipleStringLiteralsExtended The String "array[0]" appears 25 times in the file. 1116
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 1116
 Warning extension MultipleStringLiteralsExtended The String "array[0].name" appears 10 times in the file. 1119
 Warning extension MultipleStringLiteralsExtended The String "are you sure you're not Rod?" appears 7 times in the file. 1119
 Warning extension MultipleStringLiteralsExtended The String "map[key1].name" appears 10 times in the file. 1120
 Warning extension MultipleStringLiteralsExtended The String "array.nestedIndexedBean.list.name" appears 2 times in the file. 1149
 Warning extension MultipleStringLiteralsExtended The String "list" appears 6 times in the file. 1152
 Warning extension MultipleStringLiteralsExtended The String "array[0].nestedIndexedBean.list[0].name" appears 19 times in the file. 1156
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 6 times in the file. 1197
 Warning extension MultipleStringLiteralsExtended The String "array[1].nestedIndexedBean.list[1].name" appears 6 times in the file. 1198
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 8 times in the file. 1198
 Warning extension MultipleStringLiteralsExtended The String "listtest1" appears 3 times in the file. 1200
 Warning extension MultipleStringLiteralsExtended The String "map[key1]" appears 9 times in the file. 1276
 Warning extension MultipleStringLiteralsExtended The String "map[key0]" appears 27 times in the file. 1277
 Warning extension MultipleStringLiteralsExtended The String "NOT_NULL" appears 9 times in the file. 1277
 Warning extension MultipleStringLiteralsExtended The String "should not be null" appears 3 times in the file. 1277
 Warning extension MultipleStringLiteralsExtended The String "arraya" appears 4 times in the file. 1279
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.tb.array[0]" appears 2 times in the file. 1282
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.tb.array" appears 2 times in the file. 1283
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.array[0]" appears 2 times in the file. 1284
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.array" appears 2 times in the file. 1285
 Warning extension MultipleStringLiteralsExtended The String "NOT_ROD.org.springframework.tests.sample.beans.DerivedTestBean" appears 2 times in the file. 1286
 Warning extension MultipleStringLiteralsExtended The String "NOT_NULL.tb.map[key0]" appears 3 times in the file. 1301
 Warning extension MultipleStringLiteralsExtended The String "NOT_NULL.tb.map" appears 3 times in the file. 1302
 Warning extension MultipleStringLiteralsExtended The String "NOT_NULL.map[key0]" appears 3 times in the file. 1303
 Warning extension MultipleStringLiteralsExtended The String "NOT_NULL.map" appears 3 times in the file. 1304
 Warning extension MultipleStringLiteralsExtended The String "NOT_NULL.org.springframework.tests.sample.beans.TestBean" appears 2 times in the file. 1334
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 4 times in the file. 1404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1413
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 2 times in the file. 1415
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 2 times in the file. 1416
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1431
 Warning extension MultipleStringLiteralsExtended The String "typeMismatch" appears 2 times in the file. 1445
 Warning extension MultipleStringLiteralsExtended The String "badName" appears 2 times in the file. 1472
 Warning extension MultipleStringLiteralsExtended The String "list[0].name" appears 2 times in the file. 1490
 Warning extension MultipleStringLiteralsExtended The String "list[1].name" appears 2 times in the file. 1491
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 3 times in the file. 1500
 Warning extension MultipleStringLiteralsExtended The String "invalid" appears 5 times in the file. 1504
 Warning extension MultipleStringLiteralsExtended The String "invalidField" appears 6 times in the file. 1505
 Warning extension MultipleStringLiteralsExtended The String "general error" appears 2 times in the file. 1508
 Warning extension MultipleStringLiteralsExtended The String "invalid field" appears 2 times in the file. 1509
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1531
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1533
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1538
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 6 times in the file. 1545
 Warning extension MultipleStringLiteralsExtended The String "beanName" appears 2 times in the file. 1553
 Warning extension MultipleStringLiteralsExtended The String "friends[4]" appears 2 times in the file. 1567
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown InvalidPropertyException" appears 2 times in the file. 1581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1585
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1614
 Warning extension MultipleStringLiteralsExtended The String "firstValue" appears 2 times in the file. 1622
 Warning extension MultipleStringLiteralsExtended The String "secondValue" appears 2 times in the file. 1623
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1625
 Warning extension MultipleStringLiteralsExtended The String "simply too young" appears 2 times in the file. 1715
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 1763

spring-framework/spring-context/src/test/java/org/springframework/validation/DefaultMessageCodesResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "errorCode" appears 19 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "objectName" appears 11 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "errorCode.objectName.field" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "errorCode.field" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "errorCode.org.springframework.tests.sample.beans.TestBean" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "prefix." appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "prefix.errorCode" appears 2 times in the file. 77

spring-framework/spring-context/src/test/java/org/springframework/validation/ValidationUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 14 times in the file. 38
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "name" appears 35 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "EMPTY" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "Roddy" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleStringLiteralsExtended The String "EMPTY_OR_WHITESPACE" appears 12 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "arg" appears 8 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "msg" appears 4 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension MultipleStringLiteralsExtended The String "You must enter a name!" appears 2 times in the file. 172

spring-framework/spring-context/src/test/java/org/springframework/validation/beanvalidation/BeanValidationPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bvpp" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "capp" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 2 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "invalid" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "stringValue" appears 3 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93

spring-framework/spring-context/src/test/java/org/springframework/validation/beanvalidation/MethodValidationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown MethodConstraintViolationException" appears 5 times in the file. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 114

spring-framework/spring-context/src/test/java/org/springframework/validation/beanvalidation/ValidatorFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "address.street" appears 8 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "Invalid constraint violation with path '" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Juergen's Street" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "Phil" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "person" appears 5 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "address" appears 2 times in the file. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension MultipleStringLiteralsExtended The String "NotNull.java.lang.String" appears 2 times in the file. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "NotNull" appears 2 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension MultipleStringLiteralsExtended The String "addressList[0].street" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "addressSet[].street" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "mainBean" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "inner.value" appears 2 times in the file. 211
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 238
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 241
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 313

spring-framework/spring-context/src/test/java/test/mixin/LockedException.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 23

spring-framework/spring-core/src/main/java/org/springframework/asm/AnnotationWriter.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 361

spring-framework/spring-core/src/main/java/org/springframework/asm/Attribute.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 91

spring-framework/spring-core/src/main/java/org/springframework/asm/ByteVector.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'putUTF8' method is 2 (max allowed is 1). 210

spring-framework/spring-core/src/main/java/org/springframework/asm/ClassReader.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 140
 Warning extension OverridableMethodInConstructor Overridable method 'readUnsignedShort' is called in constructor body. 175
 Warning extension OverridableMethodInConstructor Overridable method 'readUnsignedShort' is called in constructor body. 199
 Warning extension MultipleStringLiteralsExtended The String "BootstrapMethods" appears 2 times in the file. 385
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 396
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 405
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 425
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 437
 Warning extension MultipleStringLiteralsExtended The String "Signature" appears 3 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleAnnotations" appears 3 times in the file. 586
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleTypeAnnotations" appears 4 times in the file. 589
 Warning extension MultipleStringLiteralsExtended The String "Deprecated" appears 3 times in the file. 591
 Warning extension MultipleStringLiteralsExtended The String "Synthetic" appears 3 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleAnnotations" appears 3 times in the file. 600
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleTypeAnnotations" appears 4 times in the file. 603
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 607
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 641
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 647
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 653
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 661
 Warning extension ReturnCountExtended Return count for 'readField' method is 2 (max allowed is 1). 713
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 778
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 784
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 790
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 798
 Warning extension ReturnCountExtended Return count for 'readMethod' method is 3 (max allowed is 1). 831
 Warning extension MoveVariableInsideIf Variable 'firstAttribute' can be moved inside the block at line '929' to restrict runtime creation. 853
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 919
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 947
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 961
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 975
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 981
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 987
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 995
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 1155
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 1171
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1203
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1216
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1228
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1251
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1267
 Warning extension MoveVariableInsideIf Variable 'itf' can be moved inside the block at line '1,431' to restrict runtime creation. 1424
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1673
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1679
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1684
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1705
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1718
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1718
 Warning extension ReturnCountExtended Return count for 'readAnnotationValue' method is 5 (max allowed is 1). 1823
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2366
 Warning extension ReturnCountExtended Return count for 'readConst' method is 7 (max allowed is 1). 2479

spring-framework/spring-core/src/main/java/org/springframework/asm/ClassVisitor.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 196

spring-framework/spring-core/src/main/java/org/springframework/asm/ClassWriter.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 72
 Warning extension ReturnCountExtended Return count for 'toByteArray' method is 2 (max allowed is 1). 810
 Warning extension MultipleStringLiteralsExtended The String "BootstrapMethods" appears 2 times in the file. 836
 Warning extension MultipleStringLiteralsExtended The String "Signature" appears 2 times in the file. 841
 Warning extension MultipleStringLiteralsExtended The String "SourceFile" appears 2 times in the file. 846
 Warning extension MultipleStringLiteralsExtended The String "SourceDebugExtension" appears 2 times in the file. 851
 Warning extension MultipleStringLiteralsExtended The String "EnclosingMethod" appears 2 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String "Deprecated" appears 2 times in the file. 861
 Warning extension MultipleStringLiteralsExtended The String "Synthetic" appears 2 times in the file. 868
 Warning extension MultipleStringLiteralsExtended The String "InnerClasses" appears 2 times in the file. 874
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleAnnotations" appears 2 times in the file. 879
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleAnnotations" appears 2 times in the file. 884
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleTypeAnnotations" appears 2 times in the file. 889
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleTypeAnnotations" appears 2 times in the file. 894
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 904
 Warning extension ReturnCountExtended Return count for 'newConstItem' method is 2 (max allowed is 1). 1016
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1281
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 1283
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1602
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1649
 Warning extension ReturnCountExtended Return count for 'getCommonSuperClass' method is 4 (max allowed is 1). 1677
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 1678
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1683
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1684

spring-framework/spring-core/src/main/java/org/springframework/asm/Edge.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51

spring-framework/spring-core/src/main/java/org/springframework/asm/FieldVisitor.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 119

spring-framework/spring-core/src/main/java/org/springframework/asm/FieldWriter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ConstantValue" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "Synthetic" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "Deprecated" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "Signature" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleAnnotations" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleAnnotations" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleTypeAnnotations" appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleTypeAnnotations" appears 2 times in the file. 240

spring-framework/spring-core/src/main/java/org/springframework/asm/Frame.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 96
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 101
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 106
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 115
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 124
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 134
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 144
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 150
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 157
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 163
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 170
 Warning extension ReturnCountExtended Return count for 'type' method is 6 (max allowed is 1). 624
 Warning extension ReturnCountExtended Return count for 'init' method is 3 (max allowed is 1). 773
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 850
 Warning extension ReturnCountExtended Return count for 'merge' method is 2 (max allowed is 1). 1286
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 1288
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 1325
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 1331
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 1337
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 1352
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 1374
 Warning extension ReturnCountExtended Return count for 'merge' method is 5 (max allowed is 1). 1395
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Object" appears 2 times in the file. 1431

spring-framework/spring-core/src/main/java/org/springframework/asm/Item.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 153
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 165
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 177
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 189
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 213
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 219
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 222
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 231
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 251
 Warning extension ReturnCountExtended Return count for 'isEqualTo' method is 7 (max allowed is 1). 281

spring-framework/spring-core/src/main/java/org/springframework/asm/Label.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 260
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 387
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 505

spring-framework/spring-core/src/main/java/org/springframework/asm/MethodVisitor.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 113
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 184
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 700
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 762
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 835

spring-framework/spring-core/src/main/java/org/springframework/asm/MethodWriter.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 45
 Warning extension OverridableMethodInConstructor Overridable method 'visitLabel' is called in constructor body. 493
 Warning extension ReturnCountExtended Return count for 'visitParameterAnnotation' method is 2 (max allowed is 1). 564
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 806
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 809
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 814
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 895
 Warning extension MoveVariableInsideIf Variable 'argSize' can be moved inside the block at line '943' to restrict runtime creation. 941
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 947
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1003
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1021
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1045
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1080
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1096
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1149
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1151
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1174
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1268
 Warning extension MultipleStringLiteralsExtended The String "Method code too large!" appears 2 times in the file. 1409
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Throwable" appears 2 times in the file. 1420
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1446
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1559
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1599
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 1705
 Warning extension MultipleStringLiteralsExtended The String "Code" appears 2 times in the file. 2038
 Warning extension MultipleStringLiteralsExtended The String "LocalVariableTable" appears 2 times in the file. 2041
 Warning extension MultipleStringLiteralsExtended The String "LocalVariableTypeTable" appears 2 times in the file. 2045
 Warning extension MultipleStringLiteralsExtended The String "LineNumberTable" appears 2 times in the file. 2049
 Warning extension MultipleStringLiteralsExtended The String "StackMapTable" appears 2 times in the file. 2054
 Warning extension MultipleStringLiteralsExtended The String "StackMap" appears 2 times in the file. 2054
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleTypeAnnotations" appears 4 times in the file. 2058
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleTypeAnnotations" appears 4 times in the file. 2062
 Warning extension MultipleStringLiteralsExtended The String "Exceptions" appears 2 times in the file. 2071
 Warning extension MultipleStringLiteralsExtended The String "Synthetic" appears 2 times in the file. 2077
 Warning extension MultipleStringLiteralsExtended The String "Deprecated" appears 2 times in the file. 2082
 Warning extension MultipleStringLiteralsExtended The String "Signature" appears 2 times in the file. 2086
 Warning extension MultipleStringLiteralsExtended The String "MethodParameters" appears 2 times in the file. 2091
 Warning extension MultipleStringLiteralsExtended The String "AnnotationDefault" appears 2 times in the file. 2095
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleAnnotations" appears 2 times in the file. 2099
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleAnnotations" appears 2 times in the file. 2103
 Warning extension MultipleStringLiteralsExtended The String "RuntimeVisibleParameterAnnotations" appears 2 times in the file. 2115
 Warning extension MultipleStringLiteralsExtended The String "RuntimeInvisibleParameterAnnotations" appears 2 times in the file. 2122
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 2374
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 2375
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2376
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2693
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 2719

spring-framework/spring-core/src/main/java/org/springframework/asm/Opcodes.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 86

spring-framework/spring-core/src/main/java/org/springframework/asm/Type.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 285
 Warning extension ReturnCountExtended Return count for 'getType' method is 11 (max allowed is 1). 446
 Warning extension ReturnCountExtended Return count for 'getClassName' method is 10 (max allowed is 1). 538
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 667
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 773
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 831
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 862
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 880

spring-framework/spring-core/src/main/java/org/springframework/asm/TypePath.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 151 position 64 need optimization. All method calls are advised to move to end of logic expression. 151

spring-framework/spring-core/src/main/java/org/springframework/asm/TypeReference.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 364
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 377
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 390
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 401
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 412
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 424

spring-framework/spring-core/src/main/java/org/springframework/core/AttributeAccessorSupport.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension MultipleStringLiteralsExtended The String "Name must not be null" appears 4 times in the file. 44

spring-framework/spring-core/src/main/java/org/springframework/core/BridgeMethodResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findBridgedMethod' method is 3 (max allowed is 1). 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 133
 Warning extension ReturnCountExtended Return count for 'findGenericDeclaration' method is 3 (max allowed is 1). 141
 Warning extension ReturnCountExtended Return count for 'isResolvedTypeMatch' method is 3 (max allowed is 1). 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214

spring-framework/spring-core/src/main/java/org/springframework/core/CollectionFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 94
 Warning extension ReturnCountExtended Return count for 'createCollection' method is 3 (max allowed is 1). 157
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 185
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 199
 Warning extension ReturnCountExtended Return count for 'createMap' method is 3 (max allowed is 1). 253
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 280

spring-framework/spring-core/src/main/java/org/springframework/core/ConfigurableObjectInputStream.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveProxyClass' method is 3 (max allowed is 1). 88

spring-framework/spring-core/src/main/java/org/springframework/core/ConstantException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 37

spring-framework/spring-core/src/main/java/org/springframework/core/Constants.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 247
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 248
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 267
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 298

spring-framework/spring-core/src/main/java/org/springframework/core/ControlFlowFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 2 times in the file. 66

spring-framework/spring-core/src/main/java/org/springframework/core/Conventions.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 101
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 132
 Warning extension ReturnCountExtended Return count for 'getVariableNameForReturnType' method is 2 (max allowed is 1). 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 207
 Warning extension MultipleStringLiteralsExtended The String "'attributeName' must not be null" appears 2 times in the file. 216

spring-framework/spring-core/src/main/java/org/springframework/core/DecoratingClassLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54

spring-framework/spring-core/src/main/java/org/springframework/core/DefaultParameterNameDiscoverer.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 35

spring-framework/spring-core/src/main/java/org/springframework/core/ExceptionDepthComparator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92

spring-framework/spring-core/src/main/java/org/springframework/core/GenericTypeResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension MultipleStringLiteralsExtended The String "MethodParameter must not be null" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Method must not be null" appears 2 times in the file. 87
 Warning extension ReturnCountExtended Return count for 'resolveReturnTypeForGenericMethod' method is 4 (max allowed is 1). 124
 Warning extension LogicConditionNeedOptimization Condition with && at line 168 position 38 need optimization. All method calls are advised to move to end of logic expression. 168
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 247
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 321

spring-framework/spring-core/src/main/java/org/springframework/core/LocalVariableTableParameterNameDiscoverer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 79
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 93
 Warning extension ReturnCountExtended Return count for 'inspectClass' method is 3 (max allowed is 1). 100
 Warning extension MultipleStringLiteralsExtended The String "] - unable to determine constructor/method parameter names" appears 2 times in the file. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 255
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 270

spring-framework/spring-core/src/main/java/org/springframework/core/MethodParameter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 281
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 298
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 301
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 317
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 320
 Warning extension ReturnCountExtended Return count for 'getNestedParameterType' method is 3 (max allowed is 1). 334
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 381
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 413
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 420
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 443
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 463
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 468

spring-framework/spring-core/src/main/java/org/springframework/core/NestedCheckedException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102
 Warning extension ReturnCountExtended Return count for 'contains' method is 4 (max allowed is 1). 112

spring-framework/spring-core/src/main/java/org/springframework/core/NestedRuntimeException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension ReturnCountExtended Return count for 'contains' method is 4 (max allowed is 1). 113

spring-framework/spring-core/src/main/java/org/springframework/core/OrderComparator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 68
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117

spring-framework/spring-core/src/main/java/org/springframework/core/OverridingClassLoader.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 124

spring-framework/spring-core/src/main/java/org/springframework/core/ParameterizedTypeReference.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63

spring-framework/spring-core/src/main/java/org/springframework/core/PrioritizedParameterNameDiscoverer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 59
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 70

spring-framework/spring-core/src/main/java/org/springframework/core/ResolvableType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 179
 Warning extension ReturnCountExtended Return count for 'isAssignableFrom' method is 8 (max allowed is 1). 197
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 220
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 230
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 415
 Warning extension ReturnCountExtended Return count for 'hasUnresolvableGenerics' method is 3 (max allowed is 1). 442
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 542
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 543
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 690
 Warning extension LogicConditionNeedOptimization Condition with || at line 694 position 33 need optimization. All method calls are advised to move to end of logic expression. 694
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 699
 Warning extension ReturnCountExtended Return count for 'resolveType' method is 4 (max allowed is 1). 709
 Warning extension ReturnCountExtended Return count for 'resolveVariable' method is 4 (max allowed is 1). 742
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 775
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 792
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 822
 Warning extension ReturnCountExtended Return count for 'toString' method is 2 (max allowed is 1). 830
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 835
 Warning extension MultipleStringLiteralsExtended The String "Source class must not be null" appears 4 times in the file. 867
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 885
 Warning extension MultipleStringLiteralsExtended The String "Generics must not be null" appears 2 times in the file. 897
 Warning extension MultipleStringLiteralsExtended The String "Field must not be null" appears 5 times in the file. 927
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 959
 Warning extension MultipleStringLiteralsExtended The String "Constructor must not be null" appears 2 times in the file. 1003
 Warning extension MultipleStringLiteralsExtended The String "Method must not be null" appears 4 times in the file. 1034
 Warning extension MultipleStringLiteralsExtended The String "MethodParameter must not be null" appears 2 times in the file. 1105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1106
 Warning extension ReturnCountExtended Return count for 'forType' method is 2 (max allowed is 1). 1193
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1329
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1354

spring-framework/spring-core/src/main/java/org/springframework/core/SerializableTypeWrapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension ReturnCountExtended Return count for 'forTypeProvider' method is 2 (max allowed is 1). 152
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 235
 Warning extension LogicConditionNeedOptimization Condition with && at line 247 position 49 need optimization. All method calls are advised to move to end of logic expression. 247
 Warning extension LogicConditionNeedOptimization Condition with && at line 250 position 51 need optimization. All method calls are advised to move to end of logic expression. 250
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 261
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 300
 Warning extension MultipleStringLiteralsExtended The String "Could not find original class structure" appears 2 times in the file. 301
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 360
 Warning extension LogicConditionNeedOptimization Condition with || at line 390 position 35 need optimization. All method calls are advised to move to end of logic expression. 390

spring-framework/spring-core/src/main/java/org/springframework/core/SimpleAliasRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension MultipleStringLiteralsExtended The String "Cannot register alias '" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "' for name '" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "': It is already registered for name '" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "'." appears 2 times in the file. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120

spring-framework/spring-core/src/main/java/org/springframework/core/SpringProperties.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 58
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 106

spring-framework/spring-core/src/main/java/org/springframework/core/SpringVersion.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 41

spring-framework/spring-core/src/main/java/org/springframework/core/StandardReflectionParameterNameDiscoverer.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 43
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 57

spring-framework/spring-core/src/main/java/org/springframework/core/annotation/AnnotatedElementUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 54
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 141
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 192
 Warning extension LogicConditionNeedOptimization Condition with || at line 194 position 69 need optimization. All method calls are advised to move to end of logic expression. 194

spring-framework/spring-core/src/main/java/org/springframework/core/annotation/AnnotationAwareOrderComparator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findOrder' method is 3 (max allowed is 1). 55

spring-framework/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 96
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 125
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 143
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 146
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 161
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 164
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 220
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 302
 Warning extension ReturnCountExtended Return count for 'findAnnotation' method is 5 (max allowed is 1). 356
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 3 times in the file. 357
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 375
 Warning extension MultipleStringLiteralsExtended The String "Annotation type must not be null" appears 3 times in the file. 416
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 492
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 517
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 589
 Warning extension ReturnCountExtended Return count for 'adaptValue' method is 3 (max allowed is 1). 609
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 666
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 722
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 763
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 769
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 780
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 782
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 818

spring-framework/spring-core/src/main/java/org/springframework/core/annotation/OrderUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 43

spring-framework/spring-core/src/main/java/org/springframework/core/convert/Property.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75
 Warning extension ReturnCountExtended Return count for 'resolveName' method is 2 (max allowed is 1). 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 263

spring-framework/spring-core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 238
 Warning extension MultipleStringLiteralsExtended The String "Not a java.util.Map" appears 2 times in the file. 370
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 464
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 471
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 536
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 556
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 578
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 579
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 690

spring-framework/spring-core/src/main/java/org/springframework/core/convert/converter/GenericConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/ArrayToCollectionConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/ByteBufferConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/CollectionToCollectionConverter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'convert' method is 3 (max allowed is 1). 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/ConversionUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 40
 Warning extension ReturnCountExtended Return count for 'canConvertElements' method is 4 (max allowed is 1). 45

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/FallbackObjectToStringConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 60

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension MultipleStringLiteralsExtended The String "targetType to convert to cannot be null" appears 5 times in the file. 137
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 169
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 281
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 291
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 296
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 380
 Warning extension MultipleStringLiteralsExtended The String " : " appears 2 times in the file. 380
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 430
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 458
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 464
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 470
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 481
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 484
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 564
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 565
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 572
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 622
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 637
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 673

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/IdToEntityConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 59
 Warning extension ReturnCountExtended Return count for 'getFinder' method is 2 (max allowed is 1). 75
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 102

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/MapToMapConverter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'convert' method is 3 (max allowed is 1). 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/ObjectToCollectionConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 64

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/ObjectToObjectConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58
 Warning extension ReturnCountExtended Return count for 'convert' method is 3 (max allowed is 1). 64
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 89
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 107

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/StringToBooleanConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 53

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/StringToCollectionConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69

spring-framework/spring-core/src/main/java/org/springframework/core/convert/support/StringToPropertiesConverter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 41

spring-framework/spring-core/src/main/java/org/springframework/core/env/AbstractEnvironment.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension OverridableMethodInConstructor Overridable method 'customizePropertySources' is called in constructor body. 124
 Warning extension MultipleStringLiteralsExtended The String "Profile array must not be null" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "Invalid profile [" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "Caught AccessControlException when accessing system " appears 2 times in the file. 384

spring-framework/spring-core/src/main/java/org/springframework/core/env/AbstractPropertyResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 144
 Warning extension MultipleStringLiteralsExtended The String "required key [%s] not found" appears 2 times in the file. 151
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 194

spring-framework/spring-core/src/main/java/org/springframework/core/env/CommandLineArgs.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

spring-framework/spring-core/src/main/java/org/springframework/core/env/CompositePropertySource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103

spring-framework/spring-core/src/main/java/org/springframework/core/env/JOptCommandLinePropertySource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 104
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117

spring-framework/spring-core/src/main/java/org/springframework/core/env/MissingRequiredPropertiesException.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

spring-framework/spring-core/src/main/java/org/springframework/core/env/MutablePropertySources.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension OverridableMethodInConstructor Overridable method 'addLast' is called in constructor body. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162

spring-framework/spring-core/src/main/java/org/springframework/core/env/PropertySource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 111
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 133
 Warning extension MultipleStringLiteralsExtended The String "%s [name='%s']" appears 2 times in the file. 162

spring-framework/spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getProperty' method is 2 (max allowed is 1). 73
 Warning extension MultipleStringLiteralsExtended The String "Searching for key '%s' in [%s]" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Could not find key '%s' in any property source. Returning [null]" appears 2 times in the file. 103
 Warning extension ReturnCountExtended Return count for 'getPropertyAsClass' method is 2 (max allowed is 1). 109
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 129

spring-framework/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 44

spring-framework/spring-core/src/main/java/org/springframework/core/env/SimpleCommandLineArgsParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 3 times in the file. 67

spring-framework/spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81
 Warning extension ReturnCountExtended Return count for 'resolvePropertyName' method is 4 (max allowed is 1). 103
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135

spring-framework/spring-core/src/main/java/org/springframework/core/io/AbstractFileResolvingResource.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'exists' method is 4 (max allowed is 1). 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 138

spring-framework/spring-core/src/main/java/org/springframework/core/io/AbstractResource.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 206

spring-framework/spring-core/src/main/java/org/springframework/core/io/ByteArrayResource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 126

spring-framework/spring-core/src/main/java/org/springframework/core/io/ClassPathResource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Path must not be null" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 242

spring-framework/spring-core/src/main/java/org/springframework/core/io/DefaultResourceLoader.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84

spring-framework/spring-core/src/main/java/org/springframework/core/io/DescriptiveResource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 43
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74

spring-framework/spring-core/src/main/java/org/springframework/core/io/FileSystemResource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 193
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 211

spring-framework/spring-core/src/main/java/org/springframework/core/io/InputStreamResource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115

spring-framework/spring-core/src/main/java/org/springframework/core/io/PathResource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Path must not be null" appears 2 times in the file. 58
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115
 Warning extension MultipleStringLiteralsExtended The String " (is a directory)" appears 2 times in the file. 128
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 163
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 241

spring-framework/spring-core/src/main/java/org/springframework/core/io/ResourceEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 151

spring-framework/spring-core/src/main/java/org/springframework/core/io/UrlResource.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 253

spring-framework/spring-core/src/main/java/org/springframework/core/io/VfsResource.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 72
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 128

spring-framework/spring-core/src/main/java/org/springframework/core/io/VfsUtils.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 63
 Warning extension MultipleStringLiteralsExtended The String "getChild" appears 3 times in the file. 72
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 127

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/EncodedResource.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'EncodedResource' does not extend anything. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 161

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/LocalizedResourceHelper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 66

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 188
 Warning extension ReturnCountExtended Return count for 'getResources' method is 4 (max allowed is 1). 267
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "/" appears 11 times in the file. 306
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 320
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 322
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 374
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 385
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 409
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 512
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 521
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 536
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 543
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 625
 Warning extension ReturnCountExtended Return count for 'retrieveMatchingFiles' method is 4 (max allowed is 1). 641
 Warning extension MultipleStringLiteralsExtended The String "Skipping [" appears 2 times in the file. 645
 Warning extension MultipleStringLiteralsExtended The String "] because the application is not allowed to read the directory" appears 2 times in the file. 659
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 668
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 742
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 747
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 751
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 756

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/PropertiesLoaderSupport.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 131

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/PropertiesLoaderUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 177

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/ResourceArrayPropertyEditor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 151
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 207

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/ResourcePatternUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 46

spring-framework/spring-core/src/main/java/org/springframework/core/io/support/SpringFactoriesLoader.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 123
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 137

spring-framework/spring-core/src/main/java/org/springframework/core/serializer/support/DeserializingConverter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 61

spring-framework/spring-core/src/main/java/org/springframework/core/serializer/support/SerializingConverter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 65

spring-framework/spring-core/src/main/java/org/springframework/core/style/DefaultToStringStyler.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 57

spring-framework/spring-core/src/main/java/org/springframework/core/style/DefaultValueStyler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\'" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 96

spring-framework/spring-core/src/main/java/org/springframework/core/style/ToStringCreator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73

spring-framework/spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'SimpleAsyncTaskExecutor' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 73
 Warning extension LogicConditionNeedOptimization Condition with && at line 166 position 25 need optimization. All method calls are advised to move to end of logic expression. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 191
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 212

spring-framework/spring-core/src/main/java/org/springframework/core/task/SyncTaskExecutor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 40

spring-framework/spring-core/src/main/java/org/springframework/core/task/support/ExecutorServiceAdapter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Manual shutdown not supported - ExecutorServiceAdapter is dependent on an external lifecycle" appears 3 times in the file. 68

spring-framework/spring-core/src/main/java/org/springframework/core/task/support/TaskExecutorAdapter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Executor [" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "] did not accept task: " appears 5 times in the file. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132

spring-framework/spring-core/src/main/java/org/springframework/core/type/StandardAnnotationMetadata.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141

spring-framework/spring-core/src/main/java/org/springframework/core/type/StandardClassMetadata.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124

spring-framework/spring-core/src/main/java/org/springframework/core/type/StandardMethodMetadata.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/AnnotationAttributesReadingVisitor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/AnnotationMetadataReadingVisitor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/AnnotationReadingVisitorUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 136

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/CachingMetadataReaderFactory.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CachingMetadataReaderFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 57

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/ClassMetadataReadingVisitor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 179
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 189

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/MethodMetadataReadingVisitor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 97
 Warning extension LogicConditionNeedOptimization Condition with && at line 97 position 36 need optimization. All method calls are advised to move to end of logic expression. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/RecursiveAnnotationArrayVisitor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

spring-framework/spring-core/src/main/java/org/springframework/core/type/classreading/SimpleMetadataReaderFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 59

spring-framework/spring-core/src/main/java/org/springframework/core/type/filter/AbstractTypeHierarchyTraversingFilter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'match' method is 2 (max allowed is 1). 56
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 87
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 144
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 151

spring-framework/spring-core/src/main/java/org/springframework/core/type/filter/AnnotationTypeFilter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 104
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 107
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 111

spring-framework/spring-core/src/main/java/org/springframework/core/type/filter/AssignableTypeFilter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 71
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 75

spring-framework/spring-core/src/main/java/org/springframework/util/AntPathMatcher.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135
 Warning extension ReturnCountExtended Return count for 'doMatch' method is 14 (max allowed is 1). 156
 Warning extension MultipleStringLiteralsExtended The String "**" appears 8 times in the file. 172
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 185
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 247
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 248
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 402
 Warning extension ReturnCountExtended Return count for 'combine' method is 6 (max allowed is 1). 428
 Warning extension LogicConditionNeedOptimization Condition with && at line 440 position 33 need optimization. All method calls are advised to move to end of logic expression. 440
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 465
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 466
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 509
 Warning extension MultipleStringLiteralsExtended The String ".*" appears 2 times in the file. 522
 Warning extension ReturnCountExtended Return count for 'compare' method is 14 (max allowed is 1). 608
 Warning extension OverridableMethodInConstructor Overridable method 'initCounters' is called in constructor body. 690
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 691
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 695
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 711
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 738

spring-framework/spring-core/src/main/java/org/springframework/util/Assert.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Type to check against must not be null" appears 2 times in the file. 335

spring-framework/spring-core/src/main/java/org/springframework/util/AutoPopulatingList.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension MultipleStringLiteralsExtended The String "]. Root cause is " appears 2 times in the file. 292

spring-framework/spring-core/src/main/java/org/springframework/util/Base64Utils.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 119

spring-framework/spring-core/src/main/java/org/springframework/util/ClassUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[]" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 161
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172
 Warning extension ReturnCountExtended Return count for 'forName' method is 6 (max allowed is 1). 212
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 249
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 257
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 286
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 329
 Warning extension MultipleStringLiteralsExtended The String "Instance must not be null" appears 3 times in the file. 343
 Warning extension ReturnCountExtended Return count for 'isCacheSafe' method is 4 (max allowed is 1). 369
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 16 times in the file. 370
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 432
 Warning extension MultipleStringLiteralsExtended The String "Class name must not be null" appears 2 times in the file. 469
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 471
 Warning extension MultipleStringLiteralsExtended The String "Method must not be null" appears 2 times in the file. 513
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 514
 Warning extension ReturnCountExtended Return count for 'getDescriptiveType' method is 3 (max allowed is 1). 524
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 555
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 570
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 602
 Warning extension MultipleStringLiteralsExtended The String "Method name must not be null" appears 5 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "Expected method not found: " appears 2 times in the file. 627
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 631
 Warning extension ReturnCountExtended Return count for 'getMethodIfAvailable' method is 3 (max allowed is 1). 663
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 675
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 739
 Warning extension ReturnCountExtended Return count for 'getMostSpecificMethod' method is 2 (max allowed is 1). 762
 Warning extension LogicConditionNeedOptimization Condition with && at line 763 position 59 need optimization. All method calls are advised to move to end of logic expression. 763
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 777
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 800
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 863
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 874
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 885
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 896
 Warning extension LogicConditionNeedOptimization Condition with && at line 896 position 30 need optimization. All method calls are advised to move to end of logic expression. 896
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 939
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 981
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1061
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1138
 Warning extension ReturnCountExtended Return count for 'determineCommonAncestor' method is 4 (max allowed is 1). 1173
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1240

spring-framework/spring-core/src/main/java/org/springframework/util/CollectionUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 321
 Warning extension MultipleStringLiteralsExtended The String "'map' must not be null" appears 2 times in the file. 355
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 356
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 419
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 424
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 438

spring-framework/spring-core/src/main/java/org/springframework/util/CompositeIterator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

spring-framework/spring-core/src/main/java/org/springframework/util/ConcurrencyThrottleSupport.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96

spring-framework/spring-core/src/main/java/org/springframework/util/ConcurrentReferenceHashMap.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 215
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 217
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 218
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 220
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 228
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 234
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 235
 Warning extension ReturnCountExtended Return count for 'doTask' method is 2 (max allowed is 1). 468
 Warning extension LogicConditionNeedOptimization Condition with && at line 473 position 48 need optimization. All method calls are advised to move to end of logic expression. 473
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 481
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 486
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 526
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 545
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 554
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 607
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 701
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 714
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 720
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 733
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 802
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 855
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 927

spring-framework/spring-core/src/main/java/org/springframework/util/CustomizableThreadCreator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension OverridableMethodInConstructor Overridable method 'getDefaultThreadNamePrefix' is called in constructor body. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 59
 Warning extension OverridableMethodInConstructor Overridable method 'getDefaultThreadNamePrefix' is called in constructor body. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 68

spring-framework/spring-core/src/main/java/org/springframework/util/FileCopyUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No input File specified" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "No output File specified" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "No input byte array specified" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "No OutputStream specified" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "No Writer specified" appears 2 times in the file. 175

spring-framework/spring-core/src/main/java/org/springframework/util/FileSystemUtils.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 91

spring-framework/spring-core/src/main/java/org/springframework/util/LinkedCaseInsensitiveMap.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'LinkedCaseInsensitiveMap' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 111

spring-framework/spring-core/src/main/java/org/springframework/util/LinkedMultiValueMap.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105

spring-framework/spring-core/src/main/java/org/springframework/util/Log4jConfigurer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Log4j config file [" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "] not found" appears 2 times in the file. 68

spring-framework/spring-core/src/main/java/org/springframework/util/MethodInvoker.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 169
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 249

spring-framework/spring-core/src/main/java/org/springframework/util/MimeType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 50
 Warning extension OverridableMethodInConstructor Overridable method 'checkParameters' is called in constructor body. 162
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 3 times in the file. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 205
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 263
 Warning extension ReturnCountExtended Return count for 'includes' method is 3 (max allowed is 1). 292
 Warning extension ReturnCountExtended Return count for 'isCompatibleWith' method is 2 (max allowed is 1). 336
 Warning extension ReturnCountExtended Return count for 'compareTo' method is 5 (max allowed is 1). 379
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 392
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 394
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 427
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 484
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 494
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 506

spring-framework/spring-core/src/main/java/org/springframework/util/MimeTypeUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*/*" appears 2 times in the file. 48
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 247
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 250
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 265
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 326
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 326

spring-framework/spring-core/src/main/java/org/springframework/util/NumberUtils.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension ReturnCountExtended Return count for 'convertNumberToTargetClass' method is 3 (max allowed is 1). 80
 Warning extension MultipleStringLiteralsExtended The String "Target class must not be null" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Could not convert number [" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "] of type [" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "] to target class [" appears 2 times in the file. 158
 Warning extension ReturnCountExtended Return count for 'parseNumber' method is 3 (max allowed is 1). 181
 Warning extension MultipleStringLiteralsExtended The String "Text must not be null" appears 2 times in the file. 182
 Warning extension ReturnCountExtended Return count for 'parseNumber' method is 2 (max allowed is 1). 231
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 249
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 267
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 267
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 268
 Warning extension MultipleStringLiteralsExtended The String "0x" appears 2 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "0X" appears 2 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 268
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 302

spring-framework/spring-core/src/main/java/org/springframework/util/ObjectUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 182
 Warning extension ReturnCountExtended Return count for 'nullSafeEquals' method is 11 (max allowed is 1). 239
 Warning extension ReturnCountExtended Return count for 'nullSafeHashCode' method is 10 (max allowed is 1). 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 473
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 550
 Warning extension ReturnCountExtended Return count for 'nullSafeToString' method is 10 (max allowed is 1). 560
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 595
 Warning extension ReturnCountExtended Return count for 'nullSafeToString' method is 2 (max allowed is 1). 638
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 717
 Warning extension ReturnCountExtended Return count for 'nullSafeToString' method is 2 (max allowed is 1). 732
 Warning extension ReturnCountExtended Return count for 'nullSafeToString' method is 2 (max allowed is 1). 764

spring-framework/spring-core/src/main/java/org/springframework/util/PatternMatchUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'simpleMatch' method is 6 (max allowed is 1). 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 62

spring-framework/spring-core/src/main/java/org/springframework/util/PropertyPlaceholderHelper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension MoveVariableInsideIf Variable 'defaultValue' can be moved inside the block at line '154' to restrict runtime creation. 152
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 165
 Warning extension ReturnCountExtended Return count for 'findPlaceholderEndIndex' method is 2 (max allowed is 1). 187

spring-framework/spring-core/src/main/java/org/springframework/util/ReflectionUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 2 times in the file. 81
 Warning extension LogicConditionNeedOptimization Condition with && at line 84 position 42 need optimization. All method calls are advised to move to end of logic expression. 84
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 112
 Warning extension MultipleStringLiteralsExtended The String "Unexpected reflection exception - " appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 113
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 165
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 204
 Warning extension MultipleStringLiteralsExtended The String "Should never get here" appears 2 times in the file. 207
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 242
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 352
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 364
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 372
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 380
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 394
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 412
 Warning extension MultipleStringLiteralsExtended The String "': " appears 2 times in the file. 497
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 516
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 533
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 697
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 709
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 722
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 726

spring-framework/spring-core/src/main/java/org/springframework/util/ResourceUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getURL' method is 3 (max allowed is 1). 124
 Warning extension MultipleStringLiteralsExtended The String "Resource location must not be null" appears 2 times in the file. 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 129
 Warning extension MultipleStringLiteralsExtended The String "class path resource [" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 131
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 147
 Warning extension ReturnCountExtended Return count for 'getFile' method is 3 (max allowed is 1). 164
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 170
 Warning extension MultipleStringLiteralsExtended The String " cannot be resolved to absolute file path " appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "because it does not reside in the file system: " appears 2 times in the file. 214
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 265
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 289
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 311

spring-framework/spring-core/src/main/java/org/springframework/util/SerializationUtils.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 40

spring-framework/spring-core/src/main/java/org/springframework/util/SocketUtils.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 73
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 203
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 217
 Warning extension MultipleStringLiteralsExtended The String "'minPort' must be greater than 0" appears 2 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "'maxPort' must be greater than 'minPort'" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "'maxPort' must be less than or equal to " appears 2 times in the file. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 287

spring-framework/spring-core/src/main/java/org/springframework/util/StopWatch.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 230
 Warning extension MultipleStringLiteralsExtended The String "-----------------------------------------\n" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 244

spring-framework/spring-core/src/main/java/org/springframework/util/StreamUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No InputStream specified" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "No OutputStream specified" appears 4 times in the file. 88

spring-framework/spring-core/src/main/java/org/springframework/util/StringUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 101
 Warning extension LogicConditionNeedOptimization Condition with || at line 389 position 53 need optimization. All method calls are advised to move to end of logic expression. 389
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 451
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 451
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 462
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 532
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 635
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 688
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 689
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 703
 Warning extension MultipleStringLiteralsExtended The String "GMT" appears 2 times in the file. 735
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 802
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 834
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 848
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 867
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 882
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 900
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 904
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1002
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1005
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1053
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 1080
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1090

spring-framework/spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 106

spring-framework/spring-core/src/main/java/org/springframework/util/TypeUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isAssignable' method is 10 (max allowed is 1). 42
 Warning extension ReturnCountExtended Return count for 'isAssignable' method is 3 (max allowed is 1). 112
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 124
 Warning extension ReturnCountExtended Return count for 'isAssignable' method is 3 (max allowed is 1). 137

spring-framework/spring-core/src/main/java/org/springframework/util/WeakReferenceMonitor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 118
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 149

spring-framework/spring-core/src/main/java/org/springframework/util/backoff/ExponentialBackOff.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 220

spring-framework/spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 113

spring-framework/spring-core/src/main/java/org/springframework/util/comparator/BooleanComparator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75

spring-framework/spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

spring-framework/spring-core/src/main/java/org/springframework/util/comparator/InstanceComparator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58

spring-framework/spring-core/src/main/java/org/springframework/util/comparator/InvertibleComparator.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34
 Warning extension MultipleStringLiteralsExtended The String "Comparator must not be null" appears 2 times in the file. 47
 Warning extension OverridableMethodInConstructor Overridable method 'setAscending' is called in constructor body. 60
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115
 Warning extension LogicConditionNeedOptimization Condition with && at line 115 position 51 need optimization. All method calls are advised to move to end of logic expression. 115

spring-framework/spring-core/src/main/java/org/springframework/util/comparator/NullSafeComparator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113
 Warning extension LogicConditionNeedOptimization Condition with && at line 113 position 65 need optimization. All method calls are advised to move to end of logic expression. 113

spring-framework/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 62

spring-framework/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureCallbackRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension MultipleStringLiteralsExtended The String "'callback' must not be null" appears 3 times in the file. 52

spring-framework/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureTask.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 84

spring-framework/spring-core/src/main/java/org/springframework/util/concurrent/SettableListenableFuture.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154

spring-framework/spring-core/src/main/java/org/springframework/util/xml/AbstractStaxHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 106

spring-framework/spring-core/src/main/java/org/springframework/util/xml/AbstractStaxXMLReader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 95
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 122

spring-framework/spring-core/src/main/java/org/springframework/util/xml/AbstractXMLReader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/properties/lexical-handler" appears 2 times in the file. 122

spring-framework/spring-core/src/main/java/org/springframework/util/xml/AbstractXMLStreamReader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parser must be on START_ELEMENT or END_ELEMENT state" appears 2 times in the file. 87
 Warning extension LogicConditionNeedOptimization Condition with || at line 146 position 60 need optimization. All method calls are advised to move to end of logic expression. 146
 Warning extension LogicConditionNeedOptimization Condition with || at line 146 position 101 need optimization. All method calls are advised to move to end of logic expression. 146
 Warning extension LogicConditionNeedOptimization Condition with || at line 147 position 59 need optimization. All method calls are advised to move to end of logic expression. 147

spring-framework/spring-core/src/main/java/org/springframework/util/xml/DomContentHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 67
 Warning extension MoveVariableInsideIf Variable 'attrUri' can be moved inside the block at line '83' to restrict runtime creation. 80
 Warning extension MoveVariableInsideIf Variable 'value' can be moved inside the block at line '83' to restrict runtime creation. 82

spring-framework/spring-core/src/main/java/org/springframework/util/xml/DomUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Element must not be null" appears 4 times in the file. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 189

spring-framework/spring-core/src/main/java/org/springframework/util/xml/SimpleNamespaceContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

spring-framework/spring-core/src/main/java/org/springframework/util/xml/StaxEventHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109

spring-framework/spring-core/src/main/java/org/springframework/util/xml/StaxEventXMLReader.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 87
 Warning extension LogicConditionNeedOptimization Condition with && at line 98 position 31 need optimization. All method calls are advised to move to end of logic expression. 98
 Warning extension LogicConditionNeedOptimization Condition with && at line 100 position 58 need optimization. All method calls are advised to move to end of logic expression. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182
 Warning extension MultipleStringLiteralsExtended The String "CDATA" appears 2 times in the file. 318

spring-framework/spring-core/src/main/java/org/springframework/util/xml/StaxResult.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 83
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 93

spring-framework/spring-core/src/main/java/org/springframework/util/xml/StaxSource.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 84
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 94

spring-framework/spring-core/src/main/java/org/springframework/util/xml/StaxStreamXMLReader.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 122 position 29 need optimization. All method calls are advised to move to end of logic expression. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 151
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 155
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159
 Warning extension MoveVariableInsideIf Variable 'prefix' can be moved inside the block at line '187' to restrict runtime creation. 185
 Warning extension MultipleStringLiteralsExtended The String "CDATA" appears 2 times in the file. 279

spring-framework/spring-core/src/main/java/org/springframework/util/xml/StaxUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89
 Warning extension MultipleStringLiteralsExtended The String "Source '" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "' is neither StaxSource nor StAXSource" appears 2 times in the file. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension MultipleStringLiteralsExtended The String "Result '" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "' is neither StaxResult nor StAXResult" appears 2 times in the file. 191

spring-framework/spring-core/src/main/java/org/springframework/util/xml/TransformerUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Transformer must not be null" appears 2 times in the file. 64

spring-framework/spring-core/src/main/java/org/springframework/util/xml/XMLEventStreamReader.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'attribute' can be moved inside the block at line '199' to restrict runtime creation. 198
 Warning extension MoveVariableInsideIf Variable 'namespace' can be moved inside the block at line '260' to restrict runtime creation. 259

spring-framework/spring-core/src/main/java/org/springframework/util/xml/XMLEventStreamWriter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 204

spring-framework/spring-core/src/main/java/org/springframework/util/xml/XmlValidationModeDetector.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'detectValidationMode' method is 2 (max allowed is 1). 89
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 192

spring-framework/spring-core/src/test/java/org/springframework/core/AttributeAccessorSupportTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

spring-framework/spring-core/src/test/java/org/springframework/core/BridgeMethodResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someMethod" appears 5 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "Unbridged method not returned directly" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Incorrect bridged method returned" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "someVarargMethod" appears 2 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "add" appears 4 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension MultipleStringLiteralsExtended The String "T" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "load" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "loadFromParent" appears 2 times in the file. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension MultipleStringLiteralsExtended The String "boundedOperation" appears 2 times in the file. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension MultipleStringLiteralsExtended The String "receive" appears 5 times in the file. 216
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension MultipleStringLiteralsExtended The String "saveOrUpdate" appears 2 times in the file. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension MultipleStringLiteralsExtended The String "save" appears 4 times in the file. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension MultipleStringLiteralsExtended The String "saveVararg" appears 2 times in the file. 280
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 302
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension MultipleStringLiteralsExtended The String "doSomething" appears 2 times in the file. 314
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension MultipleStringLiteralsExtended The String "method2" appears 2 times in the file. 327
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension MultipleStringLiteralsExtended The String "findBy" appears 2 times in the file. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 717
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 724
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 796
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 812
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 965
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 970
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 975
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1305
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1326

spring-framework/spring-core/src/test/java/org/springframework/core/CollectionFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown a ClassCastException" appears 5 times in the file. 76
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 79
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 97
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 121
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 125
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 143
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 244
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 249
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 254
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 283
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 288
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 293

spring-framework/spring-core/src/test/java/org/springframework/core/ConstantsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "DOG" appears 14 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 9 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension MultipleStringLiteralsExtended The String "S1" appears 11 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "CAT" appears 11 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "D" appears 4 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 2 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "myProperty" appears 4 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "_PROPERTY" appears 2 times in the file. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension MultipleStringLiteralsExtended The String "DoG" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "cAt" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "s1" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown ConstantException" appears 5 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "Must have returned *all* public static final values" appears 3 times in the file. 214

spring-framework/spring-core/src/test/java/org/springframework/core/ControlFlowTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "testing" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72

spring-framework/spring-core/src/test/java/org/springframework/core/ConventionsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testObjectList" appears 3 times in the file. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

spring-framework/spring-core/src/test/java/org/springframework/core/GenericCollectionTypeResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "b3" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "d2" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "d3" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "e" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "e2" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "e3" appears 2 times in the file. 53

spring-framework/spring-core/src/test/java/org/springframework/core/GenericTypeResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "{T=java.util.Collection<java.lang.String>}" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "{T=class java.lang.Integer}" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "array" appears 2 times in the file. 161

spring-framework/spring-core/src/test/java/org/springframework/core/LocalVariableTableParameterNameDiscovererTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should find method info" appears 11 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "no argument names" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "one argument" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "should find cons info" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "staticMethod" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "two arguments" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "x" appears 9 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "y" appears 5 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "three arguments" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "instanceMethod" appears 4 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "aa" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "key" appears 3 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "param" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "obj" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "i" appears 2 times in the file. 179
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 199

spring-framework/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "method" appears 3 times in the file. 40
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76

spring-framework/spring-core/src/test/java/org/springframework/core/NestedExceptionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mesg of mine" appears 2 times in the file. 32
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension MultipleStringLiteralsExtended The String "mesg for this exception" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "this is the obscure message of the root cause" appears 2 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103

spring-framework/spring-core/src/test/java/org/springframework/core/ParameterizedTypeReferenceTests.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 56
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 60

spring-framework/spring-core/src/test/java/org/springframework/core/PrioritizedParameterNameDiscovererTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85

spring-framework/spring-core/src/test/java/org/springframework/core/ResolvableTypeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "?" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "charSequenceList" appears 6 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "charSequenceParameter" appears 4 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "Method must not be null" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 4 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "charSequenceReturn" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "classType" appears 4 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "parameterizedType" appears 8 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "arrayClassType" appears 4 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "genericArrayType" appears 5 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "wildcardType" appears 3 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "typeVariableType" appears 4 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<java.lang.String>" appears 6 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<E>" appears 2 times in the file. 302
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 351
 Warning extension MultipleStringLiteralsExtended The String "stringList" appears 9 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "stringIntegerMultiValueMap" appears 3 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "stringListList" appears 4 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "java.util.Collection<java.util.List<java.lang.String>>" appears 2 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "java.util.Collection<java.lang.String>" appears 2 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "E" appears 2 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "genericMultiArrayType" appears 2 times in the file. 509
 Warning extension MultipleStringLiteralsExtended The String "stringArrayList" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "variableTypeGenericArray" appears 3 times in the file. 525
 Warning extension MultipleStringLiteralsExtended The String "T[]" appears 3 times in the file. 526
 Warning extension MultipleStringLiteralsExtended The String "wildcardSuperType" appears 2 times in the file. 555
 Warning extension MultipleStringLiteralsExtended The String "stringIntegerMultiValueMapSwitched" appears 2 times in the file. 585
 Warning extension MultipleStringLiteralsExtended The String "listOfListOfUnknown" appears 2 times in the file. 594
 Warning extension MultipleStringLiteralsExtended The String "typedReturn" appears 7 times in the file. 607
 Warning extension MultipleStringLiteralsExtended The String "typedParameter" appears 5 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "T" appears 10 times in the file. 718
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<?>" appears 2 times in the file. 814
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<java.lang.String>[]" appears 2 times in the file. 818
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<java.lang.Number>" appears 2 times in the file. 820
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<java.util.List<java.lang.String>>" appears 2 times in the file. 824
 Warning extension MultipleStringLiteralsExtended The String "field " appears 2 times in the file. 854
 Warning extension MultipleStringLiteralsExtended The String " toString" appears 2 times in the file. 854
 Warning extension MultipleStringLiteralsExtended The String "o" appears 3 times in the file. 908
 Warning extension MultipleStringLiteralsExtended The String "listo" appears 2 times in the file. 939
 Warning extension MultipleStringLiteralsExtended The String "lists" appears 2 times in the file. 940
 Warning extension MultipleStringLiteralsExtended The String "listc" appears 2 times in the file. 964
 Warning extension MultipleStringLiteralsExtended The String "listxo" appears 2 times in the file. 966
 Warning extension MultipleStringLiteralsExtended The String "listxc" appears 3 times in the file. 967
 Warning extension MultipleStringLiteralsExtended The String "listxs" appears 3 times in the file. 968
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1101
 Warning extension MultipleStringLiteralsExtended The String "java.util.Map<java.lang.Integer, java.util.List<java.lang.String>>" appears 2 times in the file. 1108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1209
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1301
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1303

spring-framework/spring-core/src/test/java/org/springframework/core/SerializableTypeWrapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parameterizedType" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<java.lang.String>" appears 3 times in the file. 48

spring-framework/spring-core/src/test/java/org/springframework/core/StandardReflectionParameterNameDiscoverTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45

spring-framework/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value for TxConfig." appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "TxConfig" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value for DerivedTxConfig." appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "DerivedTxConfig" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "readOnly" appears 2 times in the file. 110

spring-framework/spring-core/src/test/java/org/springframework/core/annotation/AnnotationAttributesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "dave" appears 4 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "names" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "frank" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "hal" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "bool1" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "bool2" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "color" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "clazz" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "classes" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "number" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "algernon" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "anno" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "annoArray" appears 2 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "RED" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "attributeName must not be null or empty" appears 2 times in the file. 72

spring-framework/spring-core/src/test/java/org/springframework/core/annotation/AnnotationAwareOrderComparatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76

spring-framework/spring-core/src/test/java/org/springframework/core/annotation/AnnotationUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "something" appears 3 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "meta2" appears 4 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension MultipleStringLiteralsExtended The String "NonPublicAnnotation" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 341
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 372

spring-framework/spring-core/src/test/java/org/springframework/core/annotation/OrderSourceProviderTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension MultipleStringLiteralsExtended The String "Wrong instance at index '" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "Wrong number of items" appears 2 times in the file. 153

spring-framework/spring-core/src/test/java/org/springframework/core/convert/TypeDescriptorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension MultipleStringLiteralsExtended The String "testParameterPrimitive" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "int" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "java.lang.String" appears 2 times in the file. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "java.util.List" appears 4 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension MultipleStringLiteralsExtended The String "java.util.List<?>" appears 2 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Integer[]" appears 2 times in the file. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension MultipleStringLiteralsExtended The String "java.util.Map" appears 3 times in the file. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 228
 Warning extension MultipleStringLiteralsExtended The String "getProperty" appears 5 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "setProperty" appears 5 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "getListProperty" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "setListProperty" appears 2 times in the file. 254
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 284
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 335
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 369
 Warning extension MultipleStringLiteralsExtended The String "fieldScalar" appears 2 times in the file. 392
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 395
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 401
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 467
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 476
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 489
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 490
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 499
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 500
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 501
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 502
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 510
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 511
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 512
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 519
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 520
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 521
 Warning extension MultipleStringLiteralsExtended The String "test4" appears 4 times in the file. 551
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 555
 Warning extension MultipleStringLiteralsExtended The String "test5" appears 2 times in the file. 568
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 572
 Warning extension MultipleStringLiteralsExtended The String "test6" appears 2 times in the file. 599
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 616
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 626
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 640
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 642
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 643
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 646
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 656
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 658
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 659
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 662
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 672
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 674
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 675
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 676
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 689
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 691
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 692
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 719
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 725
 Warning extension MultipleStringLiteralsExtended The String "mapPreserveContext" appears 2 times in the file. 738
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 740
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 746
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 761
 Warning extension MultipleStringLiteralsExtended The String "listField" appears 8 times in the file. 782
 Warning extension MultipleStringLiteralsExtended The String "mapField" appears 8 times in the file. 786
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 793
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 794
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 795
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 800
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 801
 Warning extension MultipleStringLiteralsExtended The String "notGenericList" appears 2 times in the file. 801
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 802
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 803
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 804
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 807
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 809
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 813
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 814
 Warning extension MultipleStringLiteralsExtended The String "notGenericMap" appears 2 times in the file. 814
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 815
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 816
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 817
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 820
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 822
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 827
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 834
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 834
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 844
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 844
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 856

spring-framework/spring-core/src/test/java/org/springframework/core/convert/converter/ConvertingComparatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 53
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 113

spring-framework/spring-core/src/test/java/org/springframework/core/convert/support/CollectionToCollectionConverterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "9" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "37" appears 4 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension MultipleStringLiteralsExtended The String "12" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "23" appears 3 times in the file. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension MultipleStringLiteralsExtended The String "objectToCollection" appears 2 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172
 Warning extension MultipleStringLiteralsExtended The String "Element" appears 2 times in the file. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 208
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "resources" appears 5 times in the file. 213
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 229
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 236
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 238
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 245
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 247
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 257
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 336
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 338
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 340
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 342
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 344
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 346
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 348
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 350
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 352

spring-framework/spring-core/src/test/java/org/springframework/core/convert/support/DefaultConversionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 36 times in the file. 64
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72
 Warning extension MultipleStringLiteralsExtended The String "invalid" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "3" appears 29 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 84
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 109
 Warning extension MultipleStringLiteralsExtended The String "A" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 12 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "100" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "100.00" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "BAR" appears 4 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "BAZ" appears 3 times in the file. 217
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 268
 Warning extension MultipleStringLiteralsExtended The String "2" appears 24 times in the file. 287
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 293
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 293
 Warning extension MultipleStringLiteralsExtended The String "genericList" appears 7 times in the file. 298
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'conversionService'. 306
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 316
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 331
 Warning extension MultipleStringLiteralsExtended The String "1,2,3" appears 8 times in the file. 343
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 428
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 440
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 452
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 506
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 514
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 568
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 588
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 616
 Warning extension MultipleStringLiteralsExtended The String "9" appears 3 times in the file. 618
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 624
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 624
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 628
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 639
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 641
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 653
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 654
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "123456789" appears 10 times in the file. 678
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 688
 Warning extension MultipleStringLiteralsExtended The String "GMT+1" appears 3 times in the file. 688
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 712
 Warning extension MultipleStringLiteralsExtended The String "a,b,c" appears 2 times in the file. 738
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 853

spring-framework/spring-core/src/test/java/org/springframework/core/convert/support/GenericConversionServiceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "Should have failed" appears 4 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "3" appears 14 times in the file. 108
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 116
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 121
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 180
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 186
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 191
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 221
 Warning extension MultipleStringLiteralsExtended The String "#000000" appears 3 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "two" appears 2 times in the file. 270
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 278
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 288
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "RESULT" appears 4 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "x1" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "z3" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 327
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 354
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 2 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "convert 4,000,000 with conversion service" appears 3 times in the file. 409
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 410
 Warning extension MultipleStringLiteralsExtended The String "convert 4,000,000 manually" appears 3 times in the file. 414
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 415
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 428
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 430
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 433
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 438
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 439
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 454
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 459
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 464
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 465
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 478
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 481
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 489
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 492
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 501
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 507
 Warning extension MultipleStringLiteralsExtended The String "integerCollection" appears 5 times in the file. 508
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 509
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 511
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 516
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 534
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 542
 Warning extension MultipleStringLiteralsExtended The String "Did not thow IllegalArgumentException" appears 2 times in the file. 549
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 569
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 579
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 591
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 601
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 611
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 662
 Warning extension MultipleStringLiteralsExtended The String "A" appears 2 times in the file. 669
 Warning extension MultipleStringLiteralsExtended The String "testX" appears 16 times in the file. 725
 Warning extension MultipleStringLiteralsExtended The String "test" appears 21 times in the file. 726
 Warning extension MultipleStringLiteralsExtended The String "stringCollection" appears 6 times in the file. 726
 Warning extension MultipleStringLiteralsExtended The String "rawCollection" appears 6 times in the file. 730
 Warning extension MultipleStringLiteralsExtended The String "genericCollection" appears 5 times in the file. 732
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 895
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 899
 Warning extension MultipleStringLiteralsExtended The String "X" appears 3 times in the file. 998
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1092
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1095
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1097
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1099
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1101
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1107
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1109

spring-framework/spring-core/src/test/java/org/springframework/core/convert/support/MapToMapConverterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "9" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "2" appears 9 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "37" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "scalarMapTarget" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension MultipleStringLiteralsExtended The String "12" appears 4 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "23" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "collectionMapTarget" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "multiValueMapTarget" appears 2 times in the file. 222
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 233
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 246
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 269
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 271
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 273
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 275
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 277
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 279
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 281
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 283

spring-framework/spring-core/src/test/java/org/springframework/core/env/CompositePropertySourceTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 46

spring-framework/spring-core/src/test/java/org/springframework/core/env/CustomEnvironmentTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "rd1" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "rd2" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "d1" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 4 times in the file. 91

spring-framework/spring-core/src/test/java/org/springframework/core/env/DummyEnvironment.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 75
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 80

spring-framework/spring-core/src/test/java/org/springframework/core/env/JOptCommandLinePropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 13 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "--foo=bar" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "o1" appears 11 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "o2" appears 9 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "biz" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "bar,baz,biz" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "spring.profiles.active" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "--o1=v1" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "--o2" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "nonOptionArgs" appears 6 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "noa1" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "noa2" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "noa1,noa2" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "NOA" appears 3 times in the file. 153

spring-framework/spring-core/src/test/java/org/springframework/core/env/MutablePropertySourcesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "b" appears 16 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 5 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "bValue" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "d" appears 8 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "dValue" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "f" appears 8 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "a" appears 16 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "c" appears 8 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "e" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "g" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "expected non-existent PropertySource exception" appears 2 times in the file. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "does not exist" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "a-replaced" appears 3 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension MultipleStringLiteralsExtended The String "expected exception" appears 2 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension MultipleStringLiteralsExtended The String "cannot be added relative to itself" appears 2 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146

spring-framework/spring-core/src/test/java/org/springframework/core/env/PropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "d" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "x" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "y" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "ps1" appears 6 times in the file. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension MultipleStringLiteralsExtended The String "ps2" appears 2 times in the file. 82

spring-framework/spring-core/src/test/java/org/springframework/core/env/PropertySourcesPropertyResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testProperties" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 29 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "myDefault" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "pName" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "ps1Value" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "ps2Value" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "ps3Value" appears 2 times in the file. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "localValue" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "newValue" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "exists" appears 4 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "expected IllegalStateException" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "key" appears 6 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "Replace this ${key}" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "Replace this value" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "Replace this ${key} plus ${unknown}" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "Replace this ${key} plus ${unknown:defaultValue}" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "Replace this value plus defaultValue" appears 2 times in the file. 221
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 224
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 237
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 254
 Warning extension MultipleStringLiteralsExtended The String "some.class" appears 16 times in the file. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 275
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 315
 Warning extension MultipleStringLiteralsExtended The String "expected validation exception" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "The following properties were declared as required " appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 4 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "v1" appears 4 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "p2" appears 4 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "v2" appears 4 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "p3" appears 4 times in the file. 365
 Warning extension MultipleStringLiteralsExtended The String "p4" appears 5 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "p5" appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "${p1}:${p2}:${bogus}" appears 4 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "p6" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "${p1}:${p2}:${bogus:def}" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "pL" appears 2 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "v1:v2" appears 2 times in the file. 375
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 377
 Warning extension MultipleStringLiteralsExtended The String "Could not resolve placeholder 'bogus' in string value \"${p1}:${p2}:${bogus}\"" appears 3 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "v1:v2:def" appears 2 times in the file. 384
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 409
 Warning extension MultipleStringLiteralsExtended The String "v1:v2:${bogus}" appears 2 times in the file. 420
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 425

spring-framework/spring-core/src/test/java/org/springframework/core/env/SimpleCommandLineParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "o1" appears 7 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "--o1=v1" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "v1" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "o2" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "o3" appears 2 times in the file. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 63
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 69
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension MultipleStringLiteralsExtended The String "noa1" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "noa2" appears 2 times in the file. 90
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 100
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 106

spring-framework/spring-core/src/test/java/org/springframework/core/env/SimpleCommandLinePropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ps1" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "--o1=v1" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "--o2" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "o1" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "o2" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "o3" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "nonOptionArgs" appears 9 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "noa1" appears 5 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "noa2" appears 5 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "noa1,noa2" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "NOA" appears 3 times in the file. 96

spring-framework/spring-core/src/test/java/org/springframework/core/env/StandardEnvironmentTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "childKey" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "childVal" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "bothKey" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "childBothVal" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 25 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "p2" appears 14 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "parentKey" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "parentVal" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "parentBothVal" appears 3 times in the file. 70
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 80
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 93
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension MultipleStringLiteralsExtended The String "local" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "embedded" appears 4 times in the file. 126
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 132
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 137
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 142
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 147
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 152
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 157
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 162
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 167
 Warning extension MultipleStringLiteralsExtended The String "d1" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "p3" appears 2 times in the file. 182
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 199
 Warning extension MultipleStringLiteralsExtended The String "d0" appears 2 times in the file. 200
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 201
 Warning extension MultipleStringLiteralsExtended The String "d2" appears 2 times in the file. 202
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 203
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 207
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "pd1" appears 5 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "pd2" appears 2 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "pd3" appears 2 times in the file. 261
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 266
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 271
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 276
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 281
 Warning extension MultipleStringLiteralsExtended The String "pd" appears 4 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "!p1" appears 2 times in the file. 318
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 324
 Warning extension MultipleStringLiteralsExtended The String "spring.getenv.ignore" appears 6 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ReturnCountExtended Return count for 'getModifiableSystemEnvironment' method is 2 (max allowed is 1). 492
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 506
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 517
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 530
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 543

spring-framework/spring-core/src/test/java/org/springframework/core/env/SystemEnvironmentPropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sysEnv" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "a.key" appears 11 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "akey" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "avalue" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "a.value" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "a_key" appears 7 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "a_value" appears 12 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "A_KEY" appears 6 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "A.KEY" appears 2 times in the file. 98

spring-framework/spring-core/src/test/java/org/springframework/core/io/ClassPathResourceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52

spring-framework/spring-core/src/test/java/org/springframework/core/io/PathResourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "src/test/java/org/" appears 3 times in the file. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 64
 Warning extension MultipleStringLiteralsExtended The String "Path must not be null" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "core/io/example.properties" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "example.properties" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 267

spring-framework/spring-core/src/test/java/org/springframework/core/io/ResourceEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension MultipleStringLiteralsExtended The String "test.prop" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "${test.prop}-${bar}" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "foo-${bar}" appears 2 times in the file. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78

spring-framework/spring-core/src/test/java/org/springframework/core/io/ResourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testString" appears 10 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "my description" appears 4 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/core/io/Resource.class" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/core/../core/io/./Resource.class" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "Resource.class" appears 8 times in the file. 112
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension MultipleStringLiteralsExtended The String "ClassPathResource.class" appears 3 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension MultipleStringLiteralsExtended The String "ResourcePatternResolver.class" appears 2 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 150
 Warning extension MultipleStringLiteralsExtended The String "dir/" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "subdir" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "dir/subdir" appears 2 times in the file. 162
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension MultipleStringLiteralsExtended The String "FileNotFoundException should have been thrown" appears 3 times in the file. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 240

spring-framework/spring-core/src/test/java/org/springframework/core/io/support/EncodedResourceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45

spring-framework/spring-core/src/test/java/org/springframework/core/io/support/PathMatchingResourcePatternResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "PathMatchingResourcePatternResolverTests.class" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "file" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "jar" appears 3 times in the file. 85
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 136

spring-framework/spring-core/src/test/java/org/springframework/core/io/support/ResourceArrayPropertyEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "test.prop" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "${test.prop}-${bar}" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "foo-${bar}" appears 2 times in the file. 63
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 70

spring-framework/spring-core/src/test/java/org/springframework/core/io/support/ResourcePropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "classpath:" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "class path resource [" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "ps1" appears 6 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99

spring-framework/spring-core/src/test/java/org/springframework/core/serializer/SerializationConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Testing" appears 2 times in the file. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 71
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 78

spring-framework/spring-core/src/test/java/org/springframework/core/style/ToStringCreatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 35
 Warning extension MultipleStringLiteralsExtended The String "[@" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "myLetters" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "[ToStringCreatorTests@" appears 4 times in the file. 99

spring-framework/spring-core/src/test/java/org/springframework/core/task/SimpleAsyncTaskExecutorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

spring-framework/spring-core/src/test/java/org/springframework/core/type/AbstractClassMetadataMemberClassTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 50
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 62
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 74

spring-framework/spring-core/src/test/java/org/springframework/core/type/AnnotationMetadataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "nestedAnnoArray" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "value" appears 14 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "direct" appears 9 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "meta" appears 4 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "additional" appears 2 times in the file. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension MultipleStringLiteralsExtended The String "clazz" appears 3 times in the file. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension MultipleStringLiteralsExtended The String "nestedAnno" appears 2 times in the file. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension MultipleStringLiteralsExtended The String "anEnum" appears 5 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "classArray" appears 18 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension MultipleStringLiteralsExtended The String "optional" appears 4 times in the file. 322
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension MultipleStringLiteralsExtended The String "optionalArray" appears 2 times in the file. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331

spring-framework/spring-core/src/test/java/org/springframework/core/type/AnnotationTypeFilterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104

spring-framework/spring-core/src/test/java/org/springframework/core/type/AspectJTypeFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests$SomeClass" appears 7 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests$SomeClassExtendingSomeClass" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests.SomeClass+" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "*+" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Object+" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests$SomeClassImplementingSomeInterface" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests.SomeInterface+" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests$SomeClassExtendingSomeClassExtendingSomeClassAndImplemnentingSomeInterface" appears 7 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests$SomeClassAnnotatedWithComponent" appears 7 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AspectJTypeFilterTests.SomeInterface+ " appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132

spring-framework/spring-core/src/test/java/org/springframework/core/type/AssignableTypeFilterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.core.type.AssignableTypeFilterTests$SomeDaoLikeImpl" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69

spring-framework/spring-core/src/test/java/org/springframework/core/type/CachingMetadataReaderLeakTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 62

spring-framework/spring-core/src/test/java/org/springframework/core/type/ClassloadingAssertions.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 33
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35

spring-framework/spring-core/src/test/java/org/springframework/tests/Assume.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 128

spring-framework/spring-core/src/test/java/org/springframework/tests/JavaVersionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41

spring-framework/spring-core/src/test/java/org/springframework/tests/TestGroup.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 97

spring-framework/spring-core/src/test/java/org/springframework/tests/TestGroupTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79

spring-framework/spring-core/src/test/java/org/springframework/tests/sample/objects/DerivedTestObject.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 22

spring-framework/spring-core/src/test/java/org/springframework/util/AntPathMatcherTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension MultipleStringLiteralsExtended The String "test" appears 44 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 8 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "/test.jpg" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test.jpg" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "t?st" appears 3 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "??st" appears 3 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "tes?" appears 12 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "te??" appears 3 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "?es?" appears 3 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "tes" appears 3 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "testt" appears 3 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "tsst" appears 3 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "test*" appears 17 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "testTest" appears 3 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "test/*" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test/Test" appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "test/t" appears 5 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 7 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "*test*" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "AnothertestTest" appears 3 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension MultipleStringLiteralsExtended The String "*test" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Anothertest" appears 3 times in the file. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "*.*" appears 8 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "test." appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "test.test" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "test.test.test" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "test*aaa" appears 9 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "testblaaaa" appears 3 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension MultipleStringLiteralsExtended The String "tst" appears 3 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "tsttest" appears 3 times in the file. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "tsttst" appears 9 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "testblaaab" appears 3 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "/?" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "/a" appears 4 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension MultipleStringLiteralsExtended The String "/?/a" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "/a/a" appears 2 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension MultipleStringLiteralsExtended The String "/a/?" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "/a/b" appears 2 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension MultipleStringLiteralsExtended The String "/??/a" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "/aa/a" appears 2 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension MultipleStringLiteralsExtended The String "/a/??" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "/a/bb" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 8 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "/testing/testing" appears 6 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension MultipleStringLiteralsExtended The String "/*/**" appears 2 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension MultipleStringLiteralsExtended The String "/**/*" appears 2 times in the file. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "/bla/**/bla" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "/bla/testing/testing/bla" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension MultipleStringLiteralsExtended The String "/bla/testing/testing/bla/bla" appears 2 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "/**/test" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "/bla/bla/test" appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "/bla/**/**/bla" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "/bla/bla/bla/bla/bla/bla" appears 2 times in the file. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "/bla*bla/test" appears 4 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "/blaXXXbla/test" appears 2 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension MultipleStringLiteralsExtended The String "/*bla/test" appears 6 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "/XXXbla/test" appears 2 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "/blaXXXbl/test" appears 2 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension MultipleStringLiteralsExtended The String "XXXblab/test" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String "XXXbl/test" appears 2 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension MultipleStringLiteralsExtended The String "/????" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "/bala/bla" appears 2 times in the file. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension MultipleStringLiteralsExtended The String "/**/*bla" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "/bla/bla/bla/bbb" appears 2 times in the file. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension MultipleStringLiteralsExtended The String "/*bla*/**/bla/**" appears 6 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "/XXXblaXXXX/testing/testing/bla/testing/testing/" appears 2 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension MultipleStringLiteralsExtended The String "/*bla*/**/bla/*" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "/XXXblaXXXX/testing/testing/bla/testing" appears 2 times in the file. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension MultipleStringLiteralsExtended The String "/XXXblaXXXX/testing/testing/bla/testing/testing" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "/XXXblaXXXX/testing/testing/bla/testing/testing.jpg" appears 2 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "*bla*/**/bla/**" appears 4 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "XXXblaXXXX/testing/testing/bla/testing/testing/" appears 2 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension MultipleStringLiteralsExtended The String "*bla*/**/bla/*" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "XXXblaXXXX/testing/testing/bla/testing" appears 2 times in the file. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "XXXblaXXXX/testing/testing/bla/testing/testing" appears 4 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "/x/x/**/bla" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "/x/x/x/" appears 2 times in the file. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension MultipleStringLiteralsExtended The String "test*/**" appears 2 times in the file. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension MultipleStringLiteralsExtended The String ".test" appears 4 times in the file. 225
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension MultipleStringLiteralsExtended The String "*/*" appears 4 times in the file. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension MultipleStringLiteralsExtended The String ".?" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String ".a" appears 2 times in the file. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension MultipleStringLiteralsExtended The String ".testing.testing" appears 3 times in the file. 267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension MultipleStringLiteralsExtended The String ".bla.**.bla" appears 2 times in the file. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension MultipleStringLiteralsExtended The String ".bla*bla.test" appears 2 times in the file. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension MultipleStringLiteralsExtended The String ".*bla.test" appears 3 times in the file. 275
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension MultipleStringLiteralsExtended The String "/docs/commit.html" appears 10 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "cvs/commit" appears 2 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "/docs/cvs/commit" appears 4 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "commit.html" appears 3 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "/docs/cvs/commit.html" appears 4 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "cvs/commit.html" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "/docs/**/*.html" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "/*.html" appears 12 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "/commit.html" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "*.html" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "/docs/cvs/other/commit.html" appears 4 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "cvs/other/commit.html" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "docs/cvs/commit" appears 2 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "/hotels/{hotel}" appears 21 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "/hotels/1" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "hotel" appears 4 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "/hotels/{hotel}/bookings/{booking}" appears 3 times in the file. 318
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 319
 Warning extension MultipleStringLiteralsExtended The String "booking" appears 5 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "/42.html" appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "page" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "com.example" appears 5 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "symbolicName" appears 5 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "1.0.0" appears 4 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "version" appears 5 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "com.example-sources-1.0.0.jar" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "/hotels" appears 9 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "/hotels/booking" appears 5 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "/hotels/*" appears 21 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "/booking" appears 3 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "/hotels/**/booking" appears 2 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "/hotels/**" appears 11 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "{hotel}" appears 3 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "/hotels/{hotel}.*" appears 2 times in the file. 412
 Warning extension MultipleStringLiteralsExtended The String "/hotel.html" appears 4 times in the file. 414
 Warning extension MultipleStringLiteralsExtended The String "/user" appears 2 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "/hotels/new" appears 25 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "/hotels/{hotel}/booking" appears 2 times in the file. 443
 Warning extension MultipleStringLiteralsExtended The String "/hotels/{hotel}/bookings/{booking}/cutomers/{customer}" appears 4 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "/hotels/*/**" appears 2 times in the file. 454
 Warning extension MultipleStringLiteralsExtended The String "/hotels/new.*" appears 3 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "/hotels/foo/bar/**" appears 2 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "/hotels/**/bookings/**" appears 2 times in the file. 465
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 478
 Warning extension MultipleStringLiteralsExtended The String "/hotels/ne*" appears 2 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "/hotels/n*" appears 2 times in the file. 546
 Warning extension MultipleStringLiteralsExtended The String "/**/login.*" appears 2 times in the file. 563
 Warning extension MultipleStringLiteralsExtended The String "/**/endUser/action/login.*" appears 2 times in the file. 564
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 577
 Warning extension MultipleStringLiteralsExtended The String "/group/{groupName}/members" appears 2 times in the file. 577
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 578
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 584
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 590
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 597
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 603
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 610

spring-framework/spring-core/src/test/java/org/springframework/util/AssertTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 44
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 82
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 92
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97
 Warning extension MultipleStringLiteralsExtended The String "A cool chick's name is Brod. " appears 2 times in the file. 119
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 127
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 144
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 156
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 161
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 166

spring-framework/spring-core/src/test/java/org/springframework/util/AutoPopulatingListTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65

spring-framework/spring-core/src/test/java/org/springframework/util/ClassUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "java.lang.String" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "byte[]" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Class name did not match" appears 12 times in the file. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension MultipleStringLiteralsExtended The String "size" appears 3 times in the file. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension MultipleStringLiteralsExtended The String "remove" appears 5 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension MultipleStringLiteralsExtended The String "someOtherMethod" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "print" appears 2 times in the file. 225
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension MultipleStringLiteralsExtended The String "staticMethod" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "argument method was not invoked." appears 2 times in the file. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension MultipleStringLiteralsExtended The String "[]" appears 2 times in the file. 323
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 381
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 385
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 393
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 397

spring-framework/spring-core/src/test/java/org/springframework/util/CollectionUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension MultipleStringLiteralsExtended The String "prop1" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "prop2" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "prop3" appears 2 times in the file. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension MultipleStringLiteralsExtended The String "prop4" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "myElement" appears 12 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 5 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "def" appears 6 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "ghi" appears 2 times in the file. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension MultipleStringLiteralsExtended The String "fiona" appears 4 times in the file. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension MultipleStringLiteralsExtended The String "apple" appears 2 times in the file. 152
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214

spring-framework/spring-core/src/test/java/org/springframework/util/CompositeIteratorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117

spring-framework/spring-core/src/test/java/org/springframework/util/ConcurrentReferenceHashMapTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension MultipleStringLiteralsExtended The String "123" appears 36 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "123b" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "321" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "1" appears 12 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "2" appears 11 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "3" appears 8 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "456" appears 12 times in the file. 273
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension MultipleStringLiteralsExtended The String "789" appears 16 times in the file. 293
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 380
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 408
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 420
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 421
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 435
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 449
 Warning extension MultipleStringLiteralsExtended The String "2b" appears 2 times in the file. 478
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 486
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 570
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'TestWeakConcurrentCache' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 575
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 582
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 586

spring-framework/spring-core/src/test/java/org/springframework/util/DigestUtilsTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 38
 Warning extension MultipleStringLiteralsExtended The String "Invalid hash" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "b10a8db164e0754105b7a99be72e3fe5" appears 2 times in the file. 46

spring-framework/spring-core/src/test/java/org/springframework/util/ExceptionTypeFilterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 33
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 34

spring-framework/spring-core/src/test/java/org/springframework/util/FileCopyUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "content" appears 6 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56

spring-framework/spring-core/src/test/java/org/springframework/util/FileSystemUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "grandchild" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "bar.txt" appears 2 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "./dest" appears 2 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73

spring-framework/spring-core/src/test/java/org/springframework/util/InstanceFilterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 32
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension MultipleStringLiteralsExtended The String "First" appears 6 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "Second" appears 6 times in the file. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension MultipleStringLiteralsExtended The String "filter '" appears 2 times in the file. 68

spring-framework/spring-core/src/test/java/org/springframework/util/LinkedCaseInsensitiveMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 8 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "KEY" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Key" appears 3 times in the file. 44

spring-framework/spring-core/src/test/java/org/springframework/util/LinkedMultiValueMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 8 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 8 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 5 times in the file. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 3 times in the file. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79

spring-framework/spring-core/src/test/java/org/springframework/util/Log4jConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "classpath:org/springframework/util/testlog4j.properties" appears 2 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "src/test/resources/org/springframework/util/testlog4j.properties" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "testlog4j.properties" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "debug" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "info" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "warn" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "error" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "fatal" appears 2 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87

spring-framework/spring-core/src/test/java/org/springframework/util/MethodInvokerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "supertypes2" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "greet" appears 7 times in the file. 75

spring-framework/spring-core/src/test/java/org/springframework/util/MimeTypeTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 39
 Warning extension MultipleStringLiteralsExtended The String "text" appears 5 times in the file. 41
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 44
 Warning extension MultipleStringLiteralsExtended The String "audio" appears 12 times in the file. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 49
 Warning extension MultipleStringLiteralsExtended The String "audio/" appears 2 times in the file. 51
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 54
 Warning extension MultipleStringLiteralsExtended The String "audio(/basic" appears 2 times in the file. 56
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 59
 Warning extension MultipleStringLiteralsExtended The String "audio/basic)" appears 2 times in the file. 61
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 64
 Warning extension MultipleStringLiteralsExtended The String "text/html; charset=foo-bar" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Invalid type" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Invalid subtype" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Invalid charset" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "application" appears 5 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "All types is not inclusive" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "All types is inclusive" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "soap+xml" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "*+xml" appears 2 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension MultipleStringLiteralsExtended The String "All subtypes is not compatible" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "All types is not compatible" appears 3 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 164
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 169
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 174
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 179
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 184
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 189
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 194
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 199
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 204
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 209
 Warning extension MultipleStringLiteralsExtended The String "attr" appears 2 times in the file. 219
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 230
 Warning extension MultipleStringLiteralsExtended The String "No mime types returned" appears 2 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "Invalid amount of mime types" appears 2 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "basic" appears 7 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result" appears 10 times in the file. 255
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 261
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 267
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 287

spring-framework/spring-core/src/test/java/org/springframework/util/NumberUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Byte did not parse" appears 6 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Short did not parse" appears 6 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Integer did not parse" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Long did not parse" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Float did not parse" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Double did not parse" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String " " appears 24 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "0x" appears 5 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "FEBD4E677898DFEBFFEE44" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "BigInteger did not parse" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "987459837583750387355346" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "0.10" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "0.001" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "3.14159265358979323846" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 12 times in the file. 207

spring-framework/spring-core/src/test/java/org/springframework/util/ObjectUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension MultipleStringLiteralsExtended The String "Luke" appears 3 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "Leia" appears 2 times in the file. 451
 Warning extension MultipleStringLiteralsExtended The String "Han" appears 3 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "Anakin" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 10 times in the file. 558
 Warning extension MultipleStringLiteralsExtended The String "null" appears 10 times in the file. 563
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 602
 Warning extension MultipleStringLiteralsExtended The String "I shoh love tha taste of mangoes" appears 2 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "FOO" appears 2 times in the file. 726
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 757

spring-framework/spring-core/src/test/java/org/springframework/util/PatternMatchUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123" appears 4 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "get*" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "setMe" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "*Test" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "getMeTest" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "*stuff*" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "on*Event" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "3*3" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "33" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "12*45*78" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "3*3*3" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "*1*2*3*" appears 3 times in the file. 70

spring-framework/spring-core/src/test/java/org/springframework/util/PropertiesPersisterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "code1=message1\ncode2:message2" appears 3 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String " code1\t= \tmessage1\n code2 \t :\t mess\\\n \t age2" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "myHeader" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "code1=message1\ncode2:message2\ncode3=" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121

spring-framework/spring-core/src/test/java/org/springframework/util/PropertyPlaceholderHelperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "${" appears 2 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "foo=${foo}" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foo=bar" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "foo=${foo},bar=${bar}" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "foo=bar,bar=${bar}" appears 2 times in the file. 104
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 107

spring-framework/spring-core/src/test/java/org/springframework/util/ReflectionUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "publicField" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "prot" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "FooBar" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 115
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 122
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension MultipleStringLiteralsExtended The String "Must find protected method on Object" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "Public, not protected" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "absquatulate" appears 2 times in the file. 199
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension MultipleStringLiteralsExtended The String "m1" appears 4 times in the file. 261
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 2 times in the file. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 322
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 365
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 367
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 403

spring-framework/spring-core/src/test/java/org/springframework/util/ResizableByteArrayOutputStreamTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78

spring-framework/spring-core/src/test/java/org/springframework/util/ResourceUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 32
 Warning extension MultipleStringLiteralsExtended The String "jar:file:myjar.jar!/mypath" appears 2 times in the file. 32
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 33
 Warning extension MultipleStringLiteralsExtended The String "zip:file:myjar.jar!/mypath" appears 2 times in the file. 33
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 34
 Warning extension MultipleStringLiteralsExtended The String "wsjar:file:myjar.jar!/mypath" appears 2 times in the file. 34
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 35
 Warning extension MultipleStringLiteralsExtended The String "file:myjar.jar" appears 9 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36

spring-framework/spring-core/src/test/java/org/springframework/util/SerializationUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 50
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 55

spring-framework/spring-core/src/test/java/org/springframework/util/SocketUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "port [" appears 2 times in the file. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 114
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 119
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 164

spring-framework/spring-core/src/test/java/org/springframework/util/StopWatchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Task 1" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "Task 2" appears 2 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135

spring-framework/spring-core/src/test/java/org/springframework/util/StringUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "a" appears 20 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String " " appears 11 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String " a" appears 11 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "a b" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "\t" appears 10 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "a " appears 10 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String " a " appears 6 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String " a b " appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String " a b c " appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "a b " appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "a b c " appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String " a b" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String " a b c" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "s" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "found substring=2" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "Replace non matched is equal" appears 3 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "Result is unchanged" appears 3 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "Result has no Is [" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "'myString'" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "myString" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "''" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "myfile" appears 8 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "mypath/myfile" appears 10 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "myfile." appears 5 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "mypath/myfile." appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "myfile.txt" appears 5 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "mypath/myfile.txt" appears 3 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "/home/user/.m2/settings/myfile" appears 5 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "txt" appears 3 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "/home/user/.m2/settings/myfile.txt" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "../mypath/myfile" appears 4 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "/../mypath/myfile" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "/dummy1/dummy2/dummy3" appears 8 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "C:\\dummy1\\dummy2\\dummy3" appears 5 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "/dummy1/bin/../dummy2/dummy3" appears 2 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "./dummy1/dummy2/dummy3" appears 2 times in the file. 358
 Warning extension MultipleStringLiteralsExtended The String "myString2" appears 13 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "myString1" appears 9 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "key1=value1 " appears 2 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "key2 =\"value2\"" appears 2 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "a,b , ,c" appears 2 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "," appears 6 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "components are correct" appears 4 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "b" appears 8 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "c" appears 4 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "String array isn't null with null input" appears 2 times in the file. 469
 Warning extension MultipleStringLiteralsExtended The String "String array length == 0 with null input" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "a,b" appears 4 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String ";" appears 2 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "AA" appears 5 times in the file. 524
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 589
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 590
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 591
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 592
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 593
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 594
 Warning extension MultipleStringLiteralsExtended The String "barfOo" appears 2 times in the file. 594
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 595
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 597
 Warning extension MultipleStringLiteralsExtended The String "en_GB_" appears 4 times in the file. 625
 Warning extension MultipleStringLiteralsExtended The String "Multi-valued variant portion of the Locale not extracted correctly." appears 6 times in the file. 627
 Warning extension MultipleStringLiteralsExtended The String "proper_northern" appears 2 times in the file. 633
 Warning extension MultipleStringLiteralsExtended The String "proper northern" appears 3 times in the file. 642

spring-framework/spring-core/src/test/java/org/springframework/util/SystemPropertyUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test.prop" appears 10 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "${test.prop}" appears 5 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "${test.prop:foo}" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "${test.prop:#{foo.bar}}" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "${test.prop:Y#{foo.bar}X}" appears 2 times in the file. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97
 Warning extension MultipleStringLiteralsExtended The String "PATH" appears 2 times in the file. 132

spring-framework/spring-core/src/test/java/org/springframework/util/TypeUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "openObjects" appears 2 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124

spring-framework/spring-core/src/test/java/org/springframework/util/comparator/ComparableComparatorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

spring-framework/spring-core/src/test/java/org/springframework/util/comparator/CompoundComparatorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

spring-framework/spring-core/src/test/java/org/springframework/util/comparator/InstanceComparatorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65

spring-framework/spring-core/src/test/java/org/springframework/util/comparator/InvertibleComparatorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 38
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77

spring-framework/spring-core/src/test/java/org/springframework/util/comparator/NullSafeComparatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension MultipleStringLiteralsExtended The String "boo" appears 2 times in the file. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

spring-framework/spring-core/src/test/java/org/springframework/util/concurrent/FutureAdapterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 76

spring-framework/spring-core/src/test/java/org/springframework/util/concurrent/ListenableFutureTaskTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 4 times in the file. 35
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65

spring-framework/spring-core/src/test/java/org/springframework/util/concurrent/SettableListenableFutureTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 9 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "Expected onSuccess() to be called" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension MultipleStringLiteralsExtended The String "Expected onFailure() to be called" appears 2 times in the file. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension MultipleStringLiteralsExtended The String "Expected CancellationException" appears 2 times in the file. 266

spring-framework/spring-core/src/test/java/org/springframework/util/xml/AbstractStaxHandlerTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<?xml version='1.0' encoding='UTF-8'?>" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "</root>" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/properties/lexical-handler" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/namespaces" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/namespace-prefixes" appears 4 times in the file. 66

spring-framework/spring-core/src/test/java/org/springframework/util/xml/AbstractStaxXMLReaderTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/namespaces" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/namespace-prefixes" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/properties/lexical-handler" appears 2 times in the file. 139

spring-framework/spring-core/src/test/java/org/springframework/util/xml/DomContentHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<?xml version='1.0' encoding='UTF-8'?>" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "<root xmlns='namespace'>" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "</root>" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "<child xmlns='namespace2' />" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 3 times in the file. 76

spring-framework/spring-core/src/test/java/org/springframework/util/xml/SimpleNamespaceContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 9 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "namespaceURI" appears 4 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "Invalid namespaceURI for default namespace" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "unbound" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Invalid prefix for unbound namespace" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "prefix1" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "namespace" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "prefix2" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "getPrefixes returns null" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "iterator is empty" appears 4 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Invalid prefix" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "iterator contains multiple values" appears 2 times in the file. 95

spring-framework/spring-core/src/test/java/org/springframework/util/xml/StaxEventXMLReaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://springframework.org/spring-ws" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "child" appears 4 times in the file. 49

spring-framework/spring-core/src/test/java/org/springframework/util/xml/StaxResultTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 2 times in the file. 65

spring-framework/spring-core/src/test/java/org/springframework/util/xml/StaxSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid streamReader returned" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "EventReader returned" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Invalid eventReader returned" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "StreamReader returned" appears 2 times in the file. 92

spring-framework/spring-core/src/test/java/org/springframework/util/xml/StaxStreamXMLReaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid element" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "http://springframework.org/spring-ws" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "child" appears 5 times in the file. 52

spring-framework/spring-core/src/test/java/org/springframework/util/xml/StaxUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "A StAX Source" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "<element/>" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Not a StAX Source" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "A StAX Result" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Not a StAX Result" appears 2 times in the file. 85

spring-framework/spring-core/src/test/java/org/springframework/util/xml/TransformerUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "{http://xml.apache.org/xslt}indent-amount" appears 2 times in the file. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 82

spring-framework/spring-core/src/test/java/org/springframework/util/xml/XMLEventStreamWriterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "content" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "namespace" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "namespace2" appears 2 times in the file. 52

spring-framework/spring-expression/src/main/java/org/springframework/expression/TypedValue.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85

spring-framework/spring-expression/src/main/java/org/springframework/expression/common/CompositeStringExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Cannot call setValue on a composite expression" appears 3 times in the file. 131

spring-framework/spring-expression/src/main/java/org/springframework/expression/common/LiteralExpression.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Cannot call setValue() on a LiteralExpression" appears 3 times in the file. 82

spring-framework/spring-expression/src/main/java/org/springframework/expression/common/TemplateAwareExpressionParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension MultipleStringLiteralsExtended The String "No expression defined within delimiter '" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "' at character " appears 2 times in the file. 141
 Warning extension ReturnCountExtended Return count for 'skipToCorrectEndSuffix' method is 3 (max allowed is 1). 202
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213
 Warning extension MultipleStringLiteralsExtended The String "Found closing '" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "' at position " appears 4 times in the file. 230

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/CodeFlow.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Boolean" appears 7 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Boolean" appears 4 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "booleanValue" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "()Z" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Byte" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Byte" appears 3 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Character" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Character" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Double" appears 4 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Double" appears 3 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Float" appears 4 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Float" appears 3 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Integer" appears 4 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Integer" appears 3 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Long" appears 4 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Long" appears 3 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Short" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Short" appears 3 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "L" appears 2 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String ";" appears 4 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Object" appears 2 times in the file. 313
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 325
 Warning extension MultipleStringLiteralsExtended The String "Z" appears 5 times in the file. 325
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 333
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 342
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 342
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 347
 Warning extension ReturnCountExtended Return count for 'areBoxingCompatible' method is 4 (max allowed is 1). 358
 Warning extension MultipleStringLiteralsExtended The String "D" appears 3 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "F" appears 3 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "I" appears 3 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "J" appears 3 times in the file. 375
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 413
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/" appears 2 times in the file. 430
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 446
 Warning extension MultipleStringLiteralsExtended The String "valueOf" appears 8 times in the file. 531
 Warning extension ReturnCountExtended Return count for 'toDescriptor' method is 8 (max allowed is 1). 571
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 612
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 717
 Warning extension MultipleStringLiteralsExtended The String "Unexpected arraytype " appears 2 times in the file. 768

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ExpressionState.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 196
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 197
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 206
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/SpelEvaluationException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 78

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/SpelParseException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 70

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/SpelParserConfiguration.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 37
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/AstUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/BeanReference.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 63
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 67

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/CompoundExpression.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 130 position 38 need optimization. All method calls are advised to move to end of logic expression. 130

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/ConstructorReference.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createNewInstance' method is 2 (max allowed is 1). 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 138
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 420
 Warning extension LogicConditionNeedOptimization Condition with || at line 425 position 70 need optimization. All method calls are advised to move to end of logic expression. 425
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 431
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 440
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 446

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/Elvis.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71
 Warning extension LogicConditionNeedOptimization Condition with && at line 71 position 65 need optimization. All method calls are advised to move to end of logic expression. 71
 Warning extension LogicConditionNeedOptimization Condition with && at line 72 position 41 need optimization. All method calls are advised to move to end of logic expression. 72
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Object" appears 3 times in the file. 103

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/FormatHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'formatClassNameForMessage' method is 2 (max allowed is 1). 61

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/FunctionReference.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 128

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/Indexer.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueRef' method is 5 (max allowed is 1). 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 188
 Warning extension MultipleStringLiteralsExtended The String "D" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "F" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "J" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "I" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "S" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "B" appears 2 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "C" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "java/util/List" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "java/util/Map" appears 2 times in the file. 259
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 262
 Warning extension ReturnCountExtended Return count for 'accessArrayElement' method is 3 (max allowed is 1). 365
 Warning extension LogicConditionNeedOptimization Condition with && at line 536 position 93 need optimization. All method calls are advised to move to end of logic expression. 536
 Warning extension LogicConditionNeedOptimization Condition with && at line 582 position 95 need optimization. All method calls are advised to move to end of logic expression. 582
 Warning extension RedundantReturn Redundant return. 598
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 696

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/InlineList.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 120
 Warning extension MultipleStringLiteralsExtended The String "Ljava/util/List;" appears 4 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "java/util/ArrayList" appears 2 times in the file. 155
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 163

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/InlineMap.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Calling the method 'checkIfConstant' in constructor body leads to the call of the overridable method 'getConstantValue'. 42
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 53
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/MethodReference.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 2 (max allowed is 1). 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 164
 Warning extension ReturnCountExtended Return count for 'isCompilable' method is 4 (max allowed is 1). 258
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 379
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 383

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpAnd.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpDec.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--" appears 2 times in the file. 45
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 102
 Warning extension AvoidHidingCauseException Cause exception 'see' was lost. 118

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpDivide.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 3 (max allowed is 1). 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 109

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpEQ.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Z" appears 3 times in the file. 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpGE.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 3 (max allowed is 1). 46

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpGT.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 3 (max allowed is 1). 46

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpInc.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "++" appears 2 times in the file. 45
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 100
 Warning extension AvoidHidingCauseException Cause exception 'see' was lost. 114

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpLE.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 3 (max allowed is 1). 46

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpLT.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 3 (max allowed is 1). 46

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMinus.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 50
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 6 (max allowed is 1). 55
 Warning extension MultipleStringLiteralsExtended The String "D" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "F" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "J" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "I" appears 2 times in the file. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 181
 Warning extension MultipleStringLiteralsExtended The String "Unrecognized exit type descriptor: '" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 214

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpModulus.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 3 (max allowed is 1). 46

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMultiply.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 4 (max allowed is 1). 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 140

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpNE.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Z" appears 2 times in the file. 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 61
 Warning extension MoveVariableInsideIf Variable 'leftPrim' can be moved inside the block at line '75' to restrict runtime creation. 70
 Warning extension MoveVariableInsideIf Variable 'rightPrim' can be moved inside the block at line '75' to restrict runtime creation. 71

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpOr.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpPlus.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "+" appears 2 times in the file. 53
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 8 (max allowed is 1). 59
 Warning extension MultipleStringLiteralsExtended The String "D" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "F" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "J" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "I" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/String" appears 3 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 193
 Warning extension MultipleStringLiteralsExtended The String "java/lang/StringBuilder" appears 4 times in the file. 213

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/Operator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99
 Warning extension ReturnCountExtended Return count for 'equalityCheck' method is 6 (max allowed is 1). 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 181
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 184
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 190
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 194
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 209
 Warning extension ReturnCountExtended Return count for 'checkNumericCompatibility' method is 3 (max allowed is 1). 252

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorInstanceof.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorMatches.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorNot.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 67

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorPower.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 5 (max allowed is 1). 43

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/Projection.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueRef' method is 4 (max allowed is 1). 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension LogicConditionNeedOptimization Condition with || at line 87 position 36 need optimization. All method calls are advised to move to end of logic expression. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension ReturnCountExtended Return count for 'determineCommonType' method is 3 (max allowed is 1). 136

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/PropertyOrFieldReference.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 96 position 32 need optimization. All method calls are advised to move to end of logic expression. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 100
 Warning extension LogicConditionNeedOptimization Condition with && at line 233 position 39 need optimization. All method calls are advised to move to end of logic expression. 233
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 310
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 312
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 313
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 332
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 341

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/QualifiedIdentifier.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 51

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/Selection.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueRef' method is 8 (max allowed is 1). 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/SpelNodeImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 64
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 175
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 249
 Warning extension LogicConditionNeedOptimization Condition with && at line 291 position 41 need optimization. All method calls are advised to move to end of logic expression. 291

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/StringLiteral.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 38

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/Ternary.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Object" appears 3 times in the file. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92
 Warning extension LogicConditionNeedOptimization Condition with && at line 93 position 63 need optimization. All method calls are advised to move to end of logic expression. 93
 Warning extension LogicConditionNeedOptimization Condition with && at line 94 position 36 need optimization. All method calls are advised to move to end of logic expression. 94

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/TypeReference.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Class" appears 2 times in the file. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 94
 Warning extension MultipleStringLiteralsExtended The String "TYPE" appears 9 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Class;" appears 9 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "java/lang/Boolean" appears 2 times in the file. 105

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/VariableReference.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValueInternal' method is 2 (max allowed is 1). 66
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 140
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 145

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/standard/InternalSpelExpressionParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 135
 Warning extension ReturnCountExtended Return count for 'eatExpression' method is 4 (max allowed is 1). 145
 Warning extension ReturnCountExtended Return count for 'eatRelationalExpression' method is 10 (max allowed is 1). 209
 Warning extension ReturnCountExtended Return count for 'eatUnaryExpression' method is 5 (max allowed is 1). 313
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 342
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 440
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 442
 Warning extension ReturnCountExtended Return count for 'maybeEatBeanReference' method is 2 (max allowed is 1). 527
 Warning extension MoveVariableInsideIf Variable 'beanRefToken' can be moved inside the block at line '541' to restrict runtime creation. 529
 Warning extension ReturnCountExtended Return count for 'maybeEatTypeReference' method is 2 (max allowed is 1). 553
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 627
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 633
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 644
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 702
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 730
 Warning extension ReturnCountExtended Return count for 'maybeEatConstructorReference' method is 2 (max allowed is 1). 754
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 758
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 762
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 764
 Warning extension ReturnCountExtended Return count for 'maybeEatRelationalOperator' method is 5 (max allowed is 1). 862
 Warning extension ReturnCountExtended Return count for 'peekToken' method is 3 (max allowed is 1). 901
 Warning extension LogicConditionNeedOptimization Condition with && at line 916 position 98 need optimization. All method calls are advised to move to end of logic expression. 916
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 929

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/standard/SpelCompiler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 110
 Warning extension ReturnCountExtended Return count for 'createExpressionClass' method is 2 (max allowed is 1). 134
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/expression/spel/CompiledExpression" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "<init>" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "()V" appears 2 times in the file. 141
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 197
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 215
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 239

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/standard/SpelExpression.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 140
 Warning extension ReturnCountExtended Return count for 'getValue' method is 3 (max allowed is 1). 160
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172
 Warning extension ReturnCountExtended Return count for 'getValue' method is 2 (max allowed is 1). 192
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 203
 Warning extension MultipleStringLiteralsExtended The String "EvaluationContext is required" appears 9 times in the file. 223
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 229
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 254
 Warning extension ReturnCountExtended Return count for 'getValue' method is 3 (max allowed is 1). 274
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 286
 Warning extension ReturnCountExtended Return count for 'getValue' method is 2 (max allowed is 1). 306
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 317
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 350
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 357
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 473

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/standard/Token.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/standard/TokenKind.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 141

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension OverridableMethodInConstructor Overridable method 'process' is called in constructor body. 84
 Warning extension LogicConditionNeedOptimization Condition with || at line 552 position 41 need optimization. All method calls are advised to move to end of logic expression. 552
 Warning extension LogicConditionNeedOptimization Condition with || at line 552 position 54 need optimization. All method calls are advised to move to end of logic expression. 552

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/BooleanTypedValue.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 38

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectionHelper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 59 position 46 need optimization. All method calls are advised to move to end of logic expression. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84
 Warning extension ReturnCountExtended Return count for 'getTypeDifferenceWeight' method is 3 (max allowed is 1). 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94
 Warning extension ReturnCountExtended Return count for 'compareArgumentsVarargs' method is 2 (max allowed is 1). 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 223
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 266
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 266
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 275
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 275
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 300
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 300
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 323
 Warning extension ReturnCountExtended Return count for 'setupArgumentsForVarargsInvocation' method is 2 (max allowed is 1). 335
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 397
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 401
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 405

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveConstructorExecutor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 70

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveConstructorResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolve' method is 3 (max allowed is 1). 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodExecutor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 115

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolve' method is 3 (max allowed is 1). 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 223

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 86
 Warning extension ReturnCountExtended Return count for 'canRead' method is 5 (max allowed is 1). 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94
 Warning extension MultipleStringLiteralsExtended The String "length" appears 3 times in the file. 95
 Warning extension ReturnCountExtended Return count for 'read' method is 3 (max allowed is 1). 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 133
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension MultipleStringLiteralsExtended The String "Unable to access property '" appears 3 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "' through getter" appears 2 times in the file. 168
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 189
 Warning extension MultipleStringLiteralsExtended The String "Unable to access field: " appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "Neither getter nor field found for property '" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 195
 Warning extension ReturnCountExtended Return count for 'canWrite' method is 4 (max allowed is 1). 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 203
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 233
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 264
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 285
 Warning extension ReturnCountExtended Return count for 'getTypeDescriptor' method is 2 (max allowed is 1). 294
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 298
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "is" appears 2 times in the file. 354
 Warning extension ReturnCountExtended Return count for 'findField' method is 3 (max allowed is 1). 427
 Warning extension ReturnCountExtended Return count for 'createOptimalAccessor' method is 4 (max allowed is 1). 458
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 463
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 487
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 544
 Warning extension LogicConditionNeedOptimization Condition with && at line 544 position 80 need optimization. All method calls are advised to move to end of logic expression. 544
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 550
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 587
 Warning extension MultipleStringLiteralsExtended The String "Should not be called on an OptimalPropertyAccessor" appears 3 times in the file. 594
 Warning extension ReturnCountExtended Return count for 'canRead' method is 4 (max allowed is 1). 598
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 602
 Warning extension ReturnCountExtended Return count for 'read' method is 2 (max allowed is 1). 622
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 631
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 643
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 662
 Warning extension MoveVariableInsideIf Variable 'descriptor' can be moved inside the block at line '681' to restrict runtime creation. 679

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/StandardEvaluationContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 255
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 269
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/StandardTypeComparator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'compare' method is 4 (max allowed is 1). 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 120
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124

spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/support/StandardTypeLocator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension OverridableMethodInConstructor Overridable method 'registerImport' is called in constructor body. 60

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/AbstractExpressionTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 47
 Warning extension MultipleStringLiteralsExtended The String "Parser returned null for expression" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Expression returned null value, but expected '" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "'" appears 9 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Type of the actual result was not as expected. Expected '" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "' but result was of type '" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Did not get expected value for expression '" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "'." appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Failed to get expected message" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "Did not get correct position reported in error " appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "Cannot check " appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String " properties of the exception, it only has " appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String " inserts" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "Insert does not match, expected '" appears 3 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "' but insert value was '" appears 2 times in the file. 228
 Warning extension ReturnCountExtended Return count for 'stringValueOf' method is 2 (max allowed is 1). 290
 Warning extension MultipleStringLiteralsExtended The String "]{" appears 4 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "," appears 4 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "}" appears 4 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 331

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ArrayConstructorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "new String[]" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "[1,2,3,4]" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "[1.0,2.0,3.0,4.0]" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/BooleanExpressionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true or true" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "true and true" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "!false" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "null or true" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "null" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "boolean" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "null and true" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "!null" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "null ? 'foo' : 'bar'" appears 2 times in the file. 98
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 104

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/CachedMethodExecutorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "int: 42" appears 6 times in the file. 52

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ConstructorInvocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "counter" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Should have failed" appears 2 times in the file. 131
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 133
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 152
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 244

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/DefaultComparatorUnitTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 4 times in the file. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/EvaluationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo[3]" appears 2 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 99
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 4 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "wibble" appears 5 times in the file. 107
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 121
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 133
 Warning extension MultipleStringLiteralsExtended The String "false" appears 7 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "true" appears 7 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "Nikola Tesla" appears 4 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "madeup" appears 2 times in the file. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension MultipleStringLiteralsExtended The String "SmilJan" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "new String('wibble')" appears 2 times in the file. 299
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension MultipleStringLiteralsExtended The String "-5" appears 2 times in the file. 315
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 333
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 338
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 343
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 348
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 353
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 394
 Warning extension MultipleStringLiteralsExtended The String "T(java.lang.String)" appears 4 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "class java.lang.String" appears 2 times in the file. 455
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 461
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 473
 Warning extension MultipleStringLiteralsExtended The String "b" appears 8 times in the file. 474
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 477
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 480
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 483
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 489
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 492
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension MultipleStringLiteralsExtended The String "T(String)" appears 2 times in the file. 512
 Warning extension MultipleStringLiteralsExtended The String "3*4+5" appears 4 times in the file. 522
 Warning extension MultipleStringLiteralsExtended The String "8.0 / 5e0 % 2" appears 2 times in the file. 533
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 548
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 555
 Warning extension MultipleStringLiteralsExtended The String "T(List)!=null" appears 2 times in the file. 555
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 561
 Warning extension MultipleStringLiteralsExtended The String "Oleg" appears 2 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "123 High St" appears 2 times in the file. 585
 Warning extension MultipleStringLiteralsExtended The String "Blah" appears 3 times in the file. 589
 Warning extension MultipleStringLiteralsExtended The String "Wibble" appears 2 times in the file. 593
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 624
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 657
 Warning extension MultipleStringLiteralsExtended The String "2" appears 8 times in the file. 666
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 676
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 676
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 677
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 679
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 680
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 682
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 683
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 685
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 693
 Warning extension MultipleStringLiteralsExtended The String "def" appears 2 times in the file. 719
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 755
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 756
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 788
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 790
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 791
 Warning extension MultipleStringLiteralsExtended The String "iii++" appears 3 times in the file. 815
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 842
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 844
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 845
 Warning extension MultipleStringLiteralsExtended The String "m()++" appears 2 times in the file. 893
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 955
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 957
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 958
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 958
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1008
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1010
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1011
 Warning extension MultipleStringLiteralsExtended The String "--iii" appears 3 times in the file. 1035
 Warning extension MultipleStringLiteralsExtended The String "--m()" appears 2 times in the file. 1067
 Warning extension MultipleStringLiteralsExtended The String "1.0d++" appears 2 times in the file. 1175
 Warning extension MultipleStringLiteralsExtended The String "isEven" appears 2 times in the file. 1371
 Warning extension MultipleStringLiteralsExtended The String "hello worldhello world" appears 2 times in the file. 1397
 Warning extension MultipleStringLiteralsExtended The String "wobble" appears 7 times in the file. 1400

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionLanguageScenarioTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 70
 Warning extension MultipleStringLiteralsExtended The String "Unexpected Exception: " appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension MultipleStringLiteralsExtended The String "wibble" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "str" appears 4 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "wobble" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "property" appears 2 times in the file. 159
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 178
 Warning extension MultipleStringLiteralsExtended The String "repeat" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "orange" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "pea" appears 2 times in the file. 229
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 262
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 294
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 306

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionStateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 32 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 7 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "goo" appears 8 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "i am a string" appears 2 times in the file. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199
 Warning extension MultipleStringLiteralsExtended The String "should have failed" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "34" appears 2 times in the file. 262

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionWithConversionTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension MultipleStringLiteralsExtended The String "listOfInteger" appears 2 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension MultipleStringLiteralsExtended The String "1,2,3,4" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 7 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "foos" appears 2 times in the file. 143

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/InProgressTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "'abc'.![true]" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "'abc'.^[true]" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "'abc'.?[true]" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "'abc'.$[true]" appears 2 times in the file. 148

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/IndexingTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 13 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "property" appears 10 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "@org.springframework.expression.spel.IndexingTests$FieldAnnotation java.util.HashMap<?, ?>" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "property['foo']" appears 3 times in the file. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension MultipleStringLiteralsExtended The String "parameterizedMap" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "parameterizedMap['9']" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "37" appears 2 times in the file. 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 156
 Warning extension MultipleStringLiteralsExtended The String "@org.springframework.expression.spel.IndexingTests$FieldAnnotation java.util.ArrayList<?>" appears 5 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "property[0]" appears 6 times in the file. 163
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 178
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 184
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension MultipleStringLiteralsExtended The String "EL1053E" appears 3 times in the file. 194
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension MultipleStringLiteralsExtended The String "parameterizedList" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "java.util.ArrayList<java.lang.Integer>" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "parameterizedList[0]" appears 2 times in the file. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 211
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 215
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 226
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 230
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 260
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 277
 Warning extension MultipleStringLiteralsExtended The String "java.util.ArrayList<?>" appears 2 times in the file. 282
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 292
 Warning extension MultipleStringLiteralsExtended The String "listNotGeneric" appears 2 times in the file. 322
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 334
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 354
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 367
 Warning extension MultipleStringLiteralsExtended The String "apple" appears 2 times in the file. 375
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 382

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ListTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[1, 2, 3, 4, 5]" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "true" appears 9 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 158

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/LiteralExpressionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "somevalue" appears 17 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension MultipleStringLiteralsExtended The String "flibble" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Should have got an exception that the value cannot be set" appears 3 times in the file. 58

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/LiteralTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "1415" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "524287" appears 2 times in the file. 86
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 94
 Warning extension MultipleStringLiteralsExtended The String "0x20 * 2L" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "6.0221415E23" appears 4 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/MapAccessTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "montag" appears 3 times in the file. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "#root['key']" appears 2 times in the file. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 184

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/MapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{:}" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "{key=false}" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "{#root.name:true}" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 134

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/MethodInvocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "throwException(#bar)" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "counter" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "London" appears 2 times in the file. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 127
 Warning extension MultipleStringLiteralsExtended The String "Should not be a SpelEvaluationException: " appears 2 times in the file. 129
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 171
 Warning extension MultipleStringLiteralsExtended The String "doit(1)" appears 3 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 344

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/OperatorOverloaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'abc'-true" appears 2 times in the file. 62

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/OperatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'abc' == 'abc'" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "'abc' == 'def'" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "'abc' != 'abc'" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "'abc' != 'def'" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "3.0d * 5.0d" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "3 * new java.math.BigDecimal('5')" appears 2 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "15" appears 4 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "3 + new java.math.BigDecimal('5')" appears 3 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "8" appears 5 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "3 - new java.math.BigDecimal('5')" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "-2" appears 4 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "3 / new java.math.BigDecimal('5')" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "0.6" appears 4 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "0.60" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "5 % new java.math.BigDecimal('3')" appears 2 times in the file. 357
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 357
 Warning extension MultipleStringLiteralsExtended The String "3.0d + 5.0d" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "+3" appears 2 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "-3" appears 2 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "-5" appears 2 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String "new java.math.BigDecimal('5') % 3" appears 2 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "8/4" appears 2 times in the file. 465
 Warning extension MultipleStringLiteralsExtended The String "new java.math.BigDecimal('5') ^ 3" appears 2 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "125" appears 3 times in the file. 494
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 547

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ParserErrorMessagesTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 32

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ParsingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true or false" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "(true or false)" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "{'abc','xyz'}" appears 2 times in the file. 308

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/PerformanceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "placeOfBirth.city" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Parser returned null for expression" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 8 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Fresh parse every time, ITERATIONS iterations = " appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "Reuse SpelExpression, ITERATIONS iterations = " appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Should have been quicker to reuse!" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "getPlaceOfBirth().getCity()" appears 3 times in the file. 106

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/PropertyAccessTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "madeup" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Should have failed - default property resolver cannot resolve on null" appears 2 times in the file. 80
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 88
 Warning extension MultipleStringLiteralsExtended The String "new String('hello').flibbles" appears 2 times in the file. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension MultipleStringLiteralsExtended The String "Assertion Failed! target should be String" appears 2 times in the file. 180
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 181
 Warning extension MultipleStringLiteralsExtended The String "flibbles" appears 4 times in the file. 181
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 188
 Warning extension MultipleStringLiteralsExtended The String "Assertion Failed! name should be flibbles" appears 2 times in the file. 194
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 206

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ScenariosForSpringSecurity.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 47
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 51
 Warning extension MultipleStringLiteralsExtended The String "Ben" appears 3 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "Luke" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "Andy" appears 3 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "Christian" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 160
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 181
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 192
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 203
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 214
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 246
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 257
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 281
 Warning extension MultipleStringLiteralsExtended The String "hasRole" appears 2 times in the file. 301
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 311

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SelectionAndProjectionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "integers.?[#this<5]" appears 3 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension MultipleStringLiteralsExtended The String "integers.^[#this<5]" appears 3 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "integers.$[#this<5]" appears 3 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension MultipleStringLiteralsExtended The String "beige" appears 4 times in the file. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension MultipleStringLiteralsExtended The String "brown" appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "#testList.![wrapper.value]" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "testList" appears 2 times in the file. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 263
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 281
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 296
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 344
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 352

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SetValueTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Wien" appears 7 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "arrayContainer.ints[1]" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "arrayContainer.floats[1]" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "arrayContainer.booleans[1]" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "arrayContainer.bytes[1]" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "arrayContainer.chars[1]" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Should not be writable!" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Should have had an error because wibble does not really exist" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "placesLived[0].city" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "placesLivedList[0]" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "true" appears 4 times in the file. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension MultipleStringLiteralsExtended The String "Parser returned null for expression" appears 3 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "Unexpected Exception: " appears 5 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "Expression is not writeable but should be" appears 2 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "] type=" appears 2 times in the file. 299

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SpelCompilationCoverageTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 201
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 207
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 213
 Warning extension MultipleStringLiteralsExtended The String "#root instanceof T(java.lang.Object)" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "abcde" appears 6 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "bcde" appears 8 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "[abc, def]" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 28 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "bc" appears 6 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "[[1, 2, 3], [4, 5, 6], [7, 8, 9]]" appears 4 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "de" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "[abc, [def, ghi]]" appears 2 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "jklm" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "op" appears 2 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "42" appears 6 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "T(Integer).valueOf(42)" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 438
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 445
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 514
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 520
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 521
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 570
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 574
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 580
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 581
 Warning extension MultipleStringLiteralsExtended The String "!#root" appears 2 times in the file. 597
 Warning extension MultipleStringLiteralsExtended The String "a" appears 20 times in the file. 615
 Warning extension MultipleStringLiteralsExtended The String "b" appears 14 times in the file. 622
 Warning extension MultipleStringLiteralsExtended The String "def" appears 3 times in the file. 650
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 5 times in the file. 681
 Warning extension MultipleStringLiteralsExtended The String "#root" appears 2 times in the file. 682
 Warning extension MultipleStringLiteralsExtended The String "doFormat" appears 3 times in the file. 716
 Warning extension MultipleStringLiteralsExtended The String "format" appears 3 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "hey there" appears 6 times in the file. 721
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 722
 Warning extension MultipleStringLiteralsExtended The String "hey %s" appears 2 times in the file. 727
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 734
 Warning extension MultipleStringLiteralsExtended The String "arg" appears 4 times in the file. 743
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 747
 Warning extension MultipleStringLiteralsExtended The String "concat" appears 2 times in the file. 755
 Warning extension MultipleStringLiteralsExtended The String "ab" appears 8 times in the file. 759
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 12 times in the file. 769
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 770
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 4 times in the file. 771
 Warning extension MultipleStringLiteralsExtended The String "4.0" appears 2 times in the file. 780
 Warning extension MultipleStringLiteralsExtended The String "1" appears 12 times in the file. 788
 Warning extension MultipleStringLiteralsExtended The String "doCompare" appears 2 times in the file. 789
 Warning extension MultipleStringLiteralsExtended The String "#doCompare([0],#arg)" appears 2 times in the file. 793
 Warning extension MultipleStringLiteralsExtended The String "-1" appears 4 times in the file. 794
 Warning extension MultipleStringLiteralsExtended The String "negate" appears 2 times in the file. 810
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 813
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 819
 Warning extension MultipleStringLiteralsExtended The String "append" appears 2 times in the file. 825
 Warning extension MultipleStringLiteralsExtended The String "append2" appears 2 times in the file. 827
 Warning extension MultipleStringLiteralsExtended The String "append3" appears 2 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "append4" appears 2 times in the file. 831
 Warning extension MultipleStringLiteralsExtended The String "appendChar" appears 2 times in the file. 833
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 2 times in the file. 835
 Warning extension MultipleStringLiteralsExtended The String "sumDouble" appears 2 times in the file. 837
 Warning extension MultipleStringLiteralsExtended The String "sumFloat" appears 2 times in the file. 839
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 841
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 842
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 843
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 844
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 848
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 854
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 860
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 6 times in the file. 865
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 866
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 873
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 879
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 885
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 891
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 897
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 903
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 916
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 922
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 928
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 934
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 940
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 946
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 952
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 958
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 964
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 970
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 976
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 982
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 989
 Warning extension MultipleStringLiteralsExtended The String "a::bc" appears 2 times in the file. 995
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 996
 Warning extension MultipleStringLiteralsExtended The String "a::b" appears 2 times in the file. 1001
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1002
 Warning extension MultipleStringLiteralsExtended The String "a::" appears 2 times in the file. 1007
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1008
 Warning extension MultipleStringLiteralsExtended The String "a::xyz" appears 2 times in the file. 1013
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1014
 Warning extension MultipleStringLiteralsExtended The String "join" appears 2 times in the file. 1022
 Warning extension MultipleStringLiteralsExtended The String "target" appears 6 times in the file. 1033
 Warning extension MultipleStringLiteralsExtended The String "123" appears 16 times in the file. 1038
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1045
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1060
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1068
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1071
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1075
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1078
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1082
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1085
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1089
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1092
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1099
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1165
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1214
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1221
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1238
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1248
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1264
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1271
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1283
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1292
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1294
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1298
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1304
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1311
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1318
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1333
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1344
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1347
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1361
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1381
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1384
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1391
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1394
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1396
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1399
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1406
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1409
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1411
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1414
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1416
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1421
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1424
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1426
 Warning extension MultipleStringLiteralsExtended The String "T(Double).valueOf(3.0d) == 4.0d" appears 2 times in the file. 1428
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1429
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1431
 Warning extension MultipleStringLiteralsExtended The String "T(Double).valueOf(3.0d) == T(Double).valueOf(3.0d)" appears 2 times in the file. 1433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1436
 Warning extension MultipleStringLiteralsExtended The String "5.0d == T(Double).valueOf(3.0d)" appears 2 times in the file. 1438
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1439
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1441
 Warning extension MultipleStringLiteralsExtended The String "false == true" appears 2 times in the file. 1443
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1444
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1446
 Warning extension MultipleStringLiteralsExtended The String "T(Boolean).valueOf('true') == T(Boolean).valueOf('true')" appears 2 times in the file. 1448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1449
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1451
 Warning extension MultipleStringLiteralsExtended The String "T(Boolean).valueOf('true') == true" appears 2 times in the file. 1453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1454
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1456
 Warning extension MultipleStringLiteralsExtended The String "false == T(Boolean).valueOf('false')" appears 2 times in the file. 1458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1459
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1461
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1468
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1471
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1475
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1478
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1482
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1485
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1489
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1492
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1501
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1504
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1506
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1509
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1511
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1514
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1516
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1519
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1521
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1524
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1526
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1529
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1531
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1534
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1536
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1539
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1541
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1544
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1549
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1551
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1554
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1556
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1559
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1561
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1564
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1566
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1569
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1571
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1574
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1576
 Warning extension MultipleStringLiteralsExtended The String "helloworld" appears 4 times in the file. 1673
 Warning extension MultipleStringLiteralsExtended The String "worldhello" appears 2 times in the file. 1685
 Warning extension MultipleStringLiteralsExtended The String "helloworld spring" appears 2 times in the file. 1691
 Warning extension MultipleStringLiteralsExtended The String "objecta" appears 2 times in the file. 1701
 Warning extension MultipleStringLiteralsExtended The String "aobject" appears 2 times in the file. 1706
 Warning extension MultipleStringLiteralsExtended The String "aobjecta" appears 2 times in the file. 1711
 Warning extension MultipleStringLiteralsExtended The String "objectaobject" appears 2 times in the file. 1716
 Warning extension MultipleStringLiteralsExtended The String "objectobject" appears 2 times in the file. 1721
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1943
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1944
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1946
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1947
 Warning extension MultipleStringLiteralsExtended The String "it" appears 5 times in the file. 2014
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2016
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2017
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2019
 Warning extension MultipleStringLiteralsExtended The String "new " appears 5 times in the file. 2025
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 2028
 Warning extension MultipleStringLiteralsExtended The String "abc:5.0:123" appears 2 times in the file. 2063
 Warning extension MultipleStringLiteralsExtended The String "abc:5.0:1" appears 2 times in the file. 2068
 Warning extension MultipleStringLiteralsExtended The String "abc:5.0:" appears 2 times in the file. 2073
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2078
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2080
 Warning extension MultipleStringLiteralsExtended The String "#it?.age.equals([0])" appears 4 times in the file. 2091
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2096
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2098
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2124
 Warning extension MultipleStringLiteralsExtended The String "(42)" appears 2 times in the file. 2190
 Warning extension MultipleStringLiteralsExtended The String "::test" appears 4 times in the file. 2214
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 5 times in the file. 2275
 Warning extension MultipleStringLiteralsExtended The String "aaabbbccc" appears 6 times in the file. 2286
 Warning extension MultipleStringLiteralsExtended The String "aaa::bbbccc" appears 2 times in the file. 2350
 Warning extension MultipleStringLiteralsExtended The String "aaa::" appears 2 times in the file. 2361
 Warning extension MultipleStringLiteralsExtended The String "aaa::{aaabbbccc}{aaabbbccc}" appears 2 times in the file. 2372
 Warning extension MultipleStringLiteralsExtended The String "aaa::{112233}{112233}" appears 2 times in the file. 2383
 Warning extension MultipleStringLiteralsExtended The String "truetruefalse" appears 2 times in the file. 2394
 Warning extension MultipleStringLiteralsExtended The String "1.02.03.0" appears 4 times in the file. 2436
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 4 times in the file. 2446
 Warning extension MultipleStringLiteralsExtended The String "656667" appears 2 times in the file. 2499
 Warning extension MultipleStringLiteralsExtended The String "65" appears 2 times in the file. 2509
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2577
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2595
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2691
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2692
 Warning extension MultipleStringLiteralsExtended The String "c" appears 9 times in the file. 2692
 Warning extension MultipleStringLiteralsExtended The String "[1]" appears 10 times in the file. 2693
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2702
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2733
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2746
 Warning extension MultipleStringLiteralsExtended The String "DR[0]" appears 2 times in the file. 2813
 Warning extension MultipleStringLiteralsExtended The String "instanceof Two" appears 3 times in the file. 2814
 Warning extension MultipleStringLiteralsExtended The String "Lorg/springframework/expression/spel/SpelCompilationCoverageTests$Two" appears 2 times in the file. 2818
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.expression.spel.SpelCompilationCoverageTests$Three" appears 4 times in the file. 2821
 Warning extension MultipleStringLiteralsExtended The String "Lorg/springframework/expression/spel/SpelCompilationCoverageTests$Three" appears 3 times in the file. 2825
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.expression.spel.SpelCompilationCoverageTests$Two" appears 2 times in the file. 2828
 Warning extension MultipleStringLiteralsExtended The String "DR[0].three" appears 2 times in the file. 2833
 Warning extension MultipleStringLiteralsExtended The String "D" appears 3 times in the file. 2844
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2850
 Warning extension MultipleStringLiteralsExtended The String "andy" appears 2 times in the file. 2851
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 8 times in the file. 2868
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 3 times in the file. 2875
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 5 times in the file. 2882
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 3 times in the file. 2889
 Warning extension MultipleStringLiteralsExtended The String "wibble" appears 7 times in the file. 2900
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2908
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2909
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2910
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2911
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2912
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2913
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2914
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2915
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2916
 Warning extension MultipleStringLiteralsExtended The String "[0]" appears 5 times in the file. 2919
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/String" appears 5 times in the file. 2923
 Warning extension MultipleStringLiteralsExtended The String "[2]" appears 4 times in the file. 2932
 Warning extension MultipleStringLiteralsExtended The String "I" appears 3 times in the file. 2936
 Warning extension MultipleStringLiteralsExtended The String "J" appears 2 times in the file. 2950
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2981
 Warning extension MultipleStringLiteralsExtended The String "bbb" appears 5 times in the file. 2983
 Warning extension MultipleStringLiteralsExtended The String "ccc" appears 3 times in the file. 2984
 Warning extension MultipleStringLiteralsExtended The String "Ljava/lang/Object" appears 16 times in the file. 2989
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2991
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3002
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3035
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3036
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3037
 Warning extension MultipleStringLiteralsExtended The String "d" appears 6 times in the file. 3037
 Warning extension MultipleStringLiteralsExtended The String "e" appears 4 times in the file. 3037
 Warning extension MultipleStringLiteralsExtended The String "f" appears 10 times in the file. 3037
 Warning extension MultipleStringLiteralsExtended The String "d e f" appears 8 times in the file. 3039
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3050
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3051
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3052
 Warning extension MultipleStringLiteralsExtended The String "1 2 3" appears 6 times in the file. 3054
 Warning extension MultipleStringLiteralsExtended The String "[1][2]" appears 4 times in the file. 3081
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3088
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3088
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3088
 Warning extension MultipleStringLiteralsExtended The String "[Ljava/lang/String" appears 2 times in the file. 3092
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3102
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3102
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3102
 Warning extension MultipleStringLiteralsExtended The String "4 5 6" appears 2 times in the file. 3104
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 3110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3142
 Warning extension MultipleStringLiteralsExtended The String "['foo']" appears 2 times in the file. 3148
 Warning extension MultipleStringLiteralsExtended The String "a b c" appears 2 times in the file. 3149
 Warning extension MultipleStringLiteralsExtended The String "['foo'][2]" appears 2 times in the file. 3155
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 3162
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3165
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 3190
 Warning extension MultipleStringLiteralsExtended The String "{key=value1}" appears 2 times in the file. 3200
 Warning extension MultipleStringLiteralsExtended The String "Ljava/util/Map" appears 2 times in the file. 3202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3272
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3274
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3277
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3282
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3284
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3289
 Warning extension MultipleStringLiteralsExtended The String "2==payload" appears 2 times in the file. 3291
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3292
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3294
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3297
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3299
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3304
 Warning extension MultipleStringLiteralsExtended The String "payload/2" appears 2 times in the file. 3306
 Warning extension MultipleStringLiteralsExtended The String "payload+2" appears 2 times in the file. 3316
 Warning extension MultipleStringLiteralsExtended The String "100+payload" appears 2 times in the file. 3321
 Warning extension MultipleStringLiteralsExtended The String "payload-2" appears 2 times in the file. 3326
 Warning extension MultipleStringLiteralsExtended The String "100-payload" appears 2 times in the file. 3331
 Warning extension MultipleStringLiteralsExtended The String "payload*2" appears 2 times in the file. 3336
 Warning extension MultipleStringLiteralsExtended The String "100*payload" appears 2 times in the file. 3341
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3425
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3427
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3430
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3432
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3435
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3437
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3440
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3445
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3447
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3450
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3455
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3457
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3460
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3462
 Warning extension MultipleStringLiteralsExtended The String "wobble" appears 6 times in the file. 3480
 Warning extension MultipleStringLiteralsExtended The String "command2" appears 2 times in the file. 3505
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3508
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3559
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 3595
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 3721
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3745
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 3749
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 3760
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3768
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 3817
 Warning extension MultipleStringLiteralsExtended The String "::" appears 9 times in the file. 3832
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3890
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 3891
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 3910
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 3913
 Warning extension MultipleStringLiteralsExtended The String "{" appears 2 times in the file. 4038
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 4042
 Warning extension MultipleStringLiteralsExtended The String "UK 123" appears 2 times in the file. 4095
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 4172

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SpelCompilationPerformanceTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension MultipleStringLiteralsExtended The String "bc" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Performance check for SpEL expression: '{'abcde','ijklm'}[0].substring({1,3,4}[0],{1,3,4}[1])'" appears 2 times in the file. 71
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 73
 Warning extension MultipleStringLiteralsExtended The String "One million iterations: " appears 18 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 19 times in the file. 76
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 78
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 83
 Warning extension MultipleStringLiteralsExtended The String "Now compiled:" appears 3 times in the file. 88
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 93
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 98
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 103
 Warning extension MultipleStringLiteralsExtended The String "jk" appears 2 times in the file. 113
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 126
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 136
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 146
 Warning extension MultipleStringLiteralsExtended The String "helloworld spring" appears 2 times in the file. 158
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 162
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 167
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 182
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 187
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 192
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 209
 Warning extension MultipleStringLiteralsExtended The String "timing interpreted: " appears 7 times in the file. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 223
 Warning extension MultipleStringLiteralsExtended The String "ms " appears 14 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "timing compiled: " appears 7 times in the file. 232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 261
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 267
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 268
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 269
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 286
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 302
 Warning extension MultipleStringLiteralsExtended The String "Compiled version is slower than interpreted!" appears 2 times in the file. 311
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 324
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 328
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 342
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 343
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 360
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 376
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 388
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 389
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 407
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 423
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 435
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 436
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 452
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 468
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 480
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 481
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 498
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 514
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 527
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 528
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 545
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 562
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'iterations'. 580
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'iterations'. 581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 608

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SpelDocumentationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Nikola Tesla" appears 9 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Serbian" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "SmilJan" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Induction motor" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Wireless communication" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Idvor" appears 2 times in the file. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 2 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 297
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "Alexander Seovic2" appears 2 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "Alexandar Seovic" appears 2 times in the file. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension MultipleStringLiteralsExtended The String "Mike Tesla" appears 2 times in the file. 408
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 421
 Warning extension MultipleStringLiteralsExtended The String "reverseString" appears 2 times in the file. 441
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 488

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "anullc" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "14.35" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "instance" appears 5 times in the file. 127
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 214
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 230
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 14 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "Dave" appears 4 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "Dave2" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "Elephant" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 2 times in the file. 283
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 298
 Warning extension MultipleStringLiteralsExtended The String "Found non terminating string literal starting at position 6" appears 2 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "abc def'g}hi jkl" appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 339
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 14 times in the file. 358
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension MultipleStringLiteralsExtended The String "Should have failed with an AccessException" appears 2 times in the file. 362
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 5 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "instance[#bar]" appears 2 times in the file. 433
 Warning extension MultipleStringLiteralsExtended The String "$foo" appears 4 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "wibble" appears 7 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "wobble" appears 5 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "wabble" appears 2 times in the file. 448
 Warning extension MultipleStringLiteralsExtended The String "wubble" appears 2 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "webble" appears 2 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "tribble" appears 2 times in the file. 451
 Warning extension MultipleStringLiteralsExtended The String "world" appears 4 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "file_name" appears 2 times in the file. 531
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 573
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 581
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 607
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 620
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 666
 Warning extension MultipleStringLiteralsExtended The String "@foo" appears 2 times in the file. 667
 Warning extension MultipleStringLiteralsExtended The String "custard" appears 3 times in the file. 668
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 687
 Warning extension MultipleStringLiteralsExtended The String "goo" appears 2 times in the file. 692
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 693
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 694
 Warning extension MultipleStringLiteralsExtended The String "trouble" appears 3 times in the file. 699
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 702
 Warning extension MultipleStringLiteralsExtended The String "default" appears 5 times in the file. 739
 Warning extension MultipleStringLiteralsExtended The String "?:'default'" appears 2 times in the file. 740
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 782
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 784
 Warning extension MultipleStringLiteralsExtended The String "Arthur" appears 3 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "def" appears 5 times in the file. 850
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 3 times in the file. 853
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 876
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 936
 Warning extension MultipleStringLiteralsExtended The String "getX" appears 3 times in the file. 940
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 976
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 989
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 992
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1112
 Warning extension MultipleStringLiteralsExtended The String "NE" appears 2 times in the file. 1115
 Warning extension MultipleStringLiteralsExtended The String "first" appears 2 times in the file. 1173
 Warning extension MultipleStringLiteralsExtended The String "shouldBeFirst" appears 5 times in the file. 1173
 Warning extension MultipleStringLiteralsExtended The String "second" appears 3 times in the file. 1174
 Warning extension MultipleStringLiteralsExtended The String "shouldBeSecond" appears 4 times in the file. 1174
 Warning extension MultipleStringLiteralsExtended The String "third" appears 4 times in the file. 1175
 Warning extension MultipleStringLiteralsExtended The String "shouldBeThird" appears 3 times in the file. 1175
 Warning extension MultipleStringLiteralsExtended The String "fourth" appears 5 times in the file. 1176
 Warning extension MultipleStringLiteralsExtended The String "shouldBeFourth" appears 2 times in the file. 1176
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1194
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1196
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1228
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1229
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1230
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1231
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1271
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1275
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1296
 Warning extension MultipleStringLiteralsExtended The String "Equal assertion failed: " appears 4 times in the file. 1305
 Warning extension MultipleStringLiteralsExtended The String "class [Ljava.lang.Long;" appears 2 times in the file. 1305
 Warning extension MultipleStringLiteralsExtended The String "T(java.lang.String[][][])" appears 2 times in the file. 1311
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1325
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1350
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1360
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1370
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1380
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1390
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1400
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1410
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1420
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1430
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1440
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1450
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1460
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1470
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1480
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1490
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1500
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1510
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1520
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1530
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1540
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1550
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1560
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1570
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1580
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1590
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1600
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1610
 Warning extension MultipleStringLiteralsExtended The String "property" appears 2 times in the file. 1615
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1619
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1628
 Warning extension MultipleStringLiteralsExtended The String "simpleProperty" appears 2 times in the file. 1632
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1636
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1644
 Warning extension MultipleStringLiteralsExtended The String "primitiveProperty" appears 2 times in the file. 1648
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1652
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1660
 Warning extension MultipleStringLiteralsExtended The String "EL1070E:(pos 0): Problem parsing left operand" appears 7 times in the file. 1662
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1673
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1679
 Warning extension MultipleStringLiteralsExtended The String "T(" appears 2 times in the file. 1682
 Warning extension MultipleStringLiteralsExtended The String ").VALUE" appears 2 times in the file. 1682
 Warning extension MultipleStringLiteralsExtended The String "interfaceValue" appears 3 times in the file. 1684
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1690
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1698
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1706
 Warning extension MultipleStringLiteralsExtended The String "#enumType.values()" appears 2 times in the file. 1712
 Warning extension MultipleStringLiteralsExtended The String "enumType" appears 3 times in the file. 1714
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1717
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1725
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1731
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1742
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1760
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1769
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1775
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 1781
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1786
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1797
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1801
 Warning extension MultipleStringLiteralsExtended The String "one" appears 3 times in the file. 1802
 Warning extension MultipleStringLiteralsExtended The String "two" appears 3 times in the file. 1803
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1807
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1810
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1812
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1820
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1827
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1834
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1842
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1850
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1859
 Warning extension MultipleStringLiteralsExtended The String "child1" appears 2 times in the file. 1865
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1881
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1889
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1894
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1895
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1898
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1904
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 2013
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 2038
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2054

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/SpelUtilities.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "===> Expression '" appears 2 times in the file. 37

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/StandardTypeLocatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "URL" appears 2 times in the file. 50

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/TemplateExpressionParsingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "}" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "#{" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "hello ${'world'}" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "hello world" appears 13 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 6 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "Should have failed" appears 5 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "1+2+3" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "hello ${'world'" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "def" appears 2 times in the file. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/TestScenarioCreator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "isEven" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "reverseInt" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "reverseString" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "varargsFunctionReverseStringsAndMerge" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "varargsFunctionReverseStringsAndMerge2" appears 2 times in the file. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/VariableAndFunctionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Nikola Tesla" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "int[3]{3,2,1}" appears 2 times in the file. 47

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ast/FormatHelperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "a string" appears 2 times in the file. 34

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ast/OpPlusTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51
 Warning extension MultipleStringLiteralsExtended The String "word" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "123.00" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "123" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "456" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "\"foo\"" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "\"bar\"" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "\"number is \"" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "\" is a number\"" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "timeVar" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "\" is now\"" appears 4 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String " is now" appears 2 times in the file. 192

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/spr10210/comp/B.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/standard/PropertiesConversionSpelTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "x" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "y" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "z" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "foo(#props)" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "props" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "123" appears 2 times in the file. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension MultipleStringLiteralsExtended The String "1null3" appears 2 times in the file. 75

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/standard/SpelParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "null" appears 3 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "true and true or false" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "!true" appears 2 times in the file. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "wibble" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "Expression 'wibble': test" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "Expression 'wibble' @ 3: test" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "1.2e3" appears 2 times in the file. 390
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 416

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/support/ReflectionHelperTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 8 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "oneArg" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "twoArg" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "3" appears 8 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 4 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "3.0" appears 3 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension MultipleStringLiteralsExtended The String "property" appears 12 times in the file. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension MultipleStringLiteralsExtended The String "field" appears 12 times in the file. 295
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension MultipleStringLiteralsExtended The String "goodbye" appears 2 times in the file. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 4 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "property2" appears 3 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "doodoo" appears 3 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "property4" appears 2 times in the file. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension MultipleStringLiteralsExtended The String "iD" appears 4 times in the file. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension MultipleStringLiteralsExtended The String "id" appears 5 times in the file. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension MultipleStringLiteralsExtended The String "ID" appears 4 times in the file. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension MultipleStringLiteralsExtended The String "Id" appears 2 times in the file. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension MultipleStringLiteralsExtended The String "xyZ" appears 4 times in the file. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension MultipleStringLiteralsExtended The String "xY" appears 4 times in the file. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension MultipleStringLiteralsExtended The String "pEBS" appears 3 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "Test String" appears 2 times in the file. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension MultipleStringLiteralsExtended The String "Should not be a null match" appears 2 times in the file. 489
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 493
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 496
 Warning extension MultipleStringLiteralsExtended The String "expected to be a match requiring conversion, but was " appears 2 times in the file. 499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 516
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 519
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 538

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/support/StandardComponentsTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "java.util" appears 2 times in the file. 61

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/testresources/Fruit.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 25
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 29
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 39

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/testresources/Inventor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 16
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 17
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 18
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 25
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 28
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 29
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 30
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 32
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 34
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 35
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 189
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 193
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 197

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/testresources/Person.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 17
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 21

spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/testresources/PlaceOfBirth.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 7
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 25
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-instrument-tomcat/src/main/java/org/springframework/instrument/classloading/WeavingTransformer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41

spring-framework/spring-instrument-tomcat/src/main/java/org/springframework/instrument/classloading/tomcat/TomcatInstrumentableClassLoader.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'TomcatInstrumentableClassLoader' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 112

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/JdbcUpdateAffectedIncorrectNumberOfRowsException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 55
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 68

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/config/DatabasePopulatorConfigUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "INIT" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "ignore-failures" appears 2 times in the file. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension MultipleStringLiteralsExtended The String "encoding" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "separator" appears 3 times in the file. 73

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/config/InitializeDatabaseBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 44

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/config/SortedResourcesFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/ArgumentTypePreparedStatementSetter.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'parameterPosition' can be moved inside the block at line '58' to restrict runtime creation. 57
 Warning extension LogicConditionNeedOptimization Condition with && at line 61 position 34 need optimization. All method calls are advised to move to end of logic expression. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 65

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/BeanPropertyRowMapper.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'initialize' is called in constructor body. 109
 Warning extension OverridableMethodInConstructor Overridable method 'initialize' is called in constructor body. 119
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 175
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 242
 Warning extension LogicConditionNeedOptimization Condition with && at line 250 position 33 need optimization. All method calls are advised to move to end of logic expression. 250
 Warning extension MultipleStringLiteralsExtended The String "' of type " appears 2 times in the file. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 321

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Callback object must not be null" appears 4 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "SQL must not be null" appears 3 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "ResultSetExtractor must not be null" appears 2 times in the file. 446
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 504
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 511
 Warning extension MultipleStringLiteralsExtended The String "SQL update affected " appears 3 times in the file. 540
 Warning extension MultipleStringLiteralsExtended The String " rows" appears 2 times in the file. 540
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 602
 Warning extension MultipleStringLiteralsExtended The String " [" appears 2 times in the file. 627
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 846
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 853
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 860
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 867
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 953
 Warning extension MultipleStringLiteralsExtended The String "Executing SQL batch update [" appears 2 times in the file. 986
 Warning extension ReturnCountExtended Return count for 'doInPreparedStatement' method is 2 (max allowed is 1). 991
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 995
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1008
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1052
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1157
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1159
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 1179
 Warning extension MultipleStringLiteralsExtended The String "CallableStatement.getUpdateCount() returned " appears 2 times in the file. 1180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1203
 Warning extension MoveVariableInsideIf Variable 'rsIndex' can be moved inside the block at line '1,207' to restrict runtime creation. 1204
 Warning extension MoveVariableInsideIf Variable 'updateIndex' can be moved inside the block at line '1,207' to restrict runtime creation. 1205
 Warning extension MoveVariableInsideIf Variable 'moreResults' can be moved inside the block at line '1,207' to restrict runtime creation. 1206
 Warning extension MultipleStringLiteralsExtended The String "Added default SqlReturnResultSet parameter named '" appears 2 times in the file. 1220
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1313
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 1491
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1496
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1531
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1537

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/PreparedStatementCreatorFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 208
 Warning extension MultipleStringLiteralsExtended The String "SQL [" appears 2 times in the file. 220
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 281

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/ResultSetSupportingSqlParameter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 104

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/RowMapperResultSetExtractor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/SingleColumnRowMapper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'mapRow' method is 2 (max allowed is 1). 83
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 174
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/SqlOutParameter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 122

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/SqlParameter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 181

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/SqlRowSetResultSetExtractor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 156

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/StatementCreatorUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 256
 Warning extension MultipleStringLiteralsExtended The String "Could not check connection metadata" appears 2 times in the file. 257
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 264
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 295
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 440
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 449

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 101
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 250
 Warning extension ReturnCountExtended Return count for 'reconcileParameters' method is 2 (max allowed is 1). 282
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 283
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 286
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 287
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 320
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 328
 Warning extension LogicConditionNeedOptimization Condition with && at line 341 position 72 need optimization. All method calls are advised to move to end of logic expression. 341
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 377
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 437
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 438
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate the corresponding parameter value for '" appears 2 times in the file. 471
 Warning extension MultipleStringLiteralsExtended The String "' within the parameter values provided: " appears 2 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "Matching " appears 2 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String " with " appears 2 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "Found match for " appears 2 times in the file. 484
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 498
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 508
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 546
 Warning extension MultipleStringLiteralsExtended The String "." appears 4 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 583

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataProviderFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension MultipleStringLiteralsExtended The String "Apache Derby" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "DB2" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "MySQL" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Microsoft SQL Server" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Oracle" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "PostgreSQL" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Sybase" appears 2 times in the file. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension MultipleStringLiteralsExtended The String "-- supported are: " appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Metadata processing disabled - you must specify all parameters explicitly" appears 2 times in the file. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'databaseMetaData'. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'databaseMetaData'. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'databaseMetaData'. 111
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'databaseMetaData'. 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'databaseMetaData'. 117

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/Db2CallMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 72

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/DerbyCallMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 43

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericCallMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 318
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 323
 Warning extension MultipleStringLiteralsExtended The String "." appears 4 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String " " appears 7 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "DATA_TYPE" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "TYPE_NAME" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "NULLABLE" appears 2 times in the file. 353

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericTableMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 280
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 297
 Warning extension MultipleStringLiteralsExtended The String "Unable to locate table meta data for '" appears 3 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 374
 Warning extension LogicConditionNeedOptimization Condition with && at line 392 position 35 need optimization. All method calls are advised to move to end of logic expression. 392
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 412

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/OracleTableMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 115
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 147

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/PostgresCallMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/SqlServerCallMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/SybaseCallMetaDataProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/TableMetaDataContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 221
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 239
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 279
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 296
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 313
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 347

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/AbstractSqlParameterSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 4 times in the file. 44

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/BeanPropertySqlParameterSource.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/MapSqlParameterSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension OverridableMethodInConstructor Overridable method 'addValues' is called in constructor body. 73
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 3 times in the file. 85

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 250
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 263

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 88
 Warning extension MultipleStringLiteralsExtended The String " in statement: " appears 2 times in the file. 117
 Warning extension ReturnCountExtended Return count for 'skipCommentsAndQuotes' method is 2 (max allowed is 1). 193
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "?" appears 4 times in the file. 284
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 332
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 335
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 413

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/ParsedSql.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/SqlParameterSourceUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 232
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 269
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 298

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension OverridableMethodInConstructor Overridable method 'setNativeJdbcExtractor' is called in constructor body. 107
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 264
 Warning extension MultipleStringLiteralsExtended The String " with: " appears 2 times in the file. 360
 Warning extension ReturnCountExtended Return count for 'executeInsertAndReturnKeyHolderInternal' method is 2 (max allowed is 1). 430
 Warning extension MultipleStringLiteralsExtended The String "Generated Key Name(s) not specified. " appears 2 times in the file. 453
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 470
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 491
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 547
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 561

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedBeanPropertyRowMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedSingleColumnRowMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcTemplate.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 157
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 188
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 225
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 249
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 267
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 284

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/JdbcDaoSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/core/support/SqlLobValue.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 117
 Warning extension LogicConditionNeedOptimization Condition with || at line 175 position 38 need optimization. All method calls are advised to move to end of logic expression. 175
 Warning extension MultipleStringLiteralsExtended The String "Content type [" appears 2 times in the file. 186
 Warning extension LogicConditionNeedOptimization Condition with || at line 190 position 38 need optimization. All method calls are advised to move to end of logic expression. 190

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/ConnectionHolder.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension LogicConditionNeedOptimization Condition with && at line 192 position 16 need optimization. All method calls are advised to move to end of logic expression. 192

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DataSourceTransactionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setDataSource' is called in constructor body. 123
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 190
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 240
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 269
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 321

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DataSourceUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doGetConnection' method is 2 (max allowed is 1). 96
 Warning extension MultipleStringLiteralsExtended The String "No DataSource specified" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "No Connection specified" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "Timeout" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "Could not set JDBC Connection read-only" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "] to " appears 2 times in the file. 187
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 245
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 362

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DelegatingDataSource.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setTargetDataSource' is called in constructor body. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 130

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DriverManagerDataSource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 130

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/IsolationLevelDataSourceAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/JdbcTransactionObjectSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 69
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 127
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 142

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/LazyConnectionDataSourceProxy.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 106
 Warning extension ReturnCountExtended Return count for 'invoke' method is 5 (max allowed is 1). 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 283
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 379
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 387
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 397
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 413

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/SimpleDriverDataSource.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setDriver' is called in constructor body. 71
 Warning extension OverridableMethodInConstructor Overridable method 'setDriver' is called in constructor body. 84
 Warning extension OverridableMethodInConstructor Overridable method 'setDriver' is called in constructor body. 98

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/SingleConnectionDataSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 123
 Warning extension OverridableMethodInConstructor Overridable method 'getCloseSuppressingConnectionProxy' is called in constructor body. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'autoCommit'. 147
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 154
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 197
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 229
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 266
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 298
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 303
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 336

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 156
 Warning extension LogicConditionNeedOptimization Condition with || at line 156 position 71 need optimization. All method calls are advised to move to end of logic expression. 156
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 183
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 193
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 251

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/UserCredentialsDataSourceAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/WebSphereDataSourceAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/DerbyEmbeddedDatabaseConfigurer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseConfigurerFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/H2EmbeddedDatabaseConfigurer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/CompositeDatabasePopulator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulatorUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 56

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension OverridableMethodInConstructor Overridable method 'setScripts' is called in constructor body. 89
 Warning extension OverridableMethodInConstructor Overridable method 'setSqlScriptEncoding' is called in constructor body. 109
 Warning extension MultipleStringLiteralsExtended The String "Script must not be null" appears 2 times in the file. 117

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptParseException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 50

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 61
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 178
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 447
 Warning extension MoveVariableInsideIf Variable 'rowsAffected' can be moved inside the block at line '459' to restrict runtime creation. 458
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 481
 Warning extension MoveVariableInsideIf Variable 'elapsedTime' can be moved inside the block at line '487' to restrict runtime creation. 486
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 491

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/lookup/AbstractRoutingDataSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 183

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/lookup/BeanFactoryDataSourceLookup.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "BeanFactory is required" appears 2 times in the file. 60

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/lookup/MapDataSourceLookup.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension OverridableMethodInConstructor Overridable method 'setDataSources' is called in constructor body. 54
 Warning extension OverridableMethodInConstructor Overridable method 'addDataSource' is called in constructor body. 63
 Warning extension MultipleStringLiteralsExtended The String "DataSource name must not be null" appears 2 times in the file. 96

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/object/BatchSqlUpdate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BatchSqlUpdate' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 70
 Warning extension OverridableMethodInConstructor Overridable method 'setBatchSize' is called in constructor body. 109

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/object/GenericSqlQuery.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unable to instantiate RowMapper" appears 2 times in the file. 54

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/object/RdbmsOperation.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension MultipleStringLiteralsExtended The String "Cannot add parameters once the query is compiled" appears 2 times in the file. 278
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 337
 Warning extension MultipleStringLiteralsExtended The String "BLOB or CLOB parameters are not allowed for this kind of operation" appears 2 times in the file. 387
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 392
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 404
 Warning extension MultipleStringLiteralsExtended The String " parameters were supplied, but " appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 431

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlCall.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 134

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlFunction.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension OverridableMethodInConstructor Overridable method 'setResultType' is called in constructor body. 109

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/AbstractFallbackSQLExceptionTranslator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'translate' method is 3 (max allowed is 1). 64

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/CustomSQLExceptionTranslatorRegistrar.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/CustomSQLExceptionTranslatorRegistry.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64
 Warning extension MultipleStringLiteralsExtended The String "] for database '" appears 2 times in the file. 75

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/DatabaseStartupValidator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " seconds" appears 2 times in the file. 140
 Warning extension MoveVariableInsideIf Variable 'duration' can be moved inside the block at line '144' to restrict runtime creation. 143

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/GeneratedKeyHolder.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 90

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/JdbcUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 78
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 98
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 118
 Warning extension ReturnCountExtended Return count for 'getResultSetValue' method is 2 (max allowed is 1). 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214
 Warning extension MultipleStringLiteralsExtended The String "oracle.sql.TIMESTAMP" appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "java.sql.Timestamp" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "] was null" appears 2 times in the file. 292
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 347
 Warning extension MultipleStringLiteralsExtended The String "DB2" appears 2 times in the file. 393
 Warning extension MoveVariableInsideIf Variable 'nextIsUpper' can be moved inside the block at line '446' to restrict runtime creation. 445
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 447

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodeSQLExceptionTranslator.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setDataSource' is called in constructor body. 97
 Warning extension OverridableMethodInConstructor Overridable method 'setDatabaseProductName' is called in constructor body. 110
 Warning extension ReturnCountExtended Return count for 'doTranslate' method is 4 (max allowed is 1). 168
 Warning extension MultipleStringLiteralsExtended The String "', error code '" appears 2 times in the file. 276
 Warning extension ReturnCountExtended Return count for 'createCustomException' method is 7 (max allowed is 1). 315
 Warning extension MultipleStringLiteralsExtended The String ": " appears 3 times in the file. 365
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 381
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 386

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 195

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodesFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 99
 Warning extension OverridableMethodInConstructor Overridable method 'loadResource' is called in constructor body. 108
 Warning extension OverridableMethodInConstructor Overridable method 'loadResource' is called in constructor body. 117
 Warning extension ReturnCountExtended Return count for 'getErrorCodes' method is 2 (max allowed is 1). 160
 Warning extension MultipleStringLiteralsExtended The String "SQL error codes for '" appears 2 times in the file. 175
 Warning extension ReturnCountExtended Return count for 'getErrorCodes' method is 3 (max allowed is 1). 196
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "' found in the CustomSQLExceptionTranslatorRegistry for database " appears 2 times in the file. 261

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLExceptionSubclassTranslator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doTranslate' method is 4 (max allowed is 1). 65

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLStateSQLExceptionTranslator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension ReturnCountExtended Return count for 'doTranslate' method is 4 (max allowed is 1). 90

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/AbstractDataFieldMaxValueIncrementer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 43

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/AbstractIdentityColumnMaxValueIncrementer.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 85

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/MySQLMaxValueIncrementer.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 90

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/DefaultLobHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 212
 Warning extension MultipleStringLiteralsExtended The String "Set BLOB to null" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "Set CLOB to null" appears 3 times in the file. 314

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/LobCreatorUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 74

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/OracleLobHandler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 221
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 235
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 245
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 255
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 265
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 275
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 298
 Warning extension MultipleStringLiteralsExtended The String "isTemporary" appears 2 times in the file. 301
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 304
 Warning extension MultipleStringLiteralsExtended The String "open" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "Could not open Oracle LOB" appears 2 times in the file. 312
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 314
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 337
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 343
 Warning extension MultipleStringLiteralsExtended The String "freeTemporary" appears 2 times in the file. 346
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 350
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 356
 Warning extension MultipleStringLiteralsExtended The String "close" appears 2 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "Could not free Oracle LOB" appears 4 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "Could not close Oracle LOB" appears 2 times in the file. 369
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 372
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 391
 Warning extension MultipleStringLiteralsExtended The String "getBinaryOutputStream" appears 2 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "Set Oracle BLOB to null" appears 2 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "getCharacterOutputStream" appears 2 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "Set Oracle CLOB to null" appears 3 times in the file. 462
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 541
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 544
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 550
 Warning extension MultipleStringLiteralsExtended The String "Could not create Oracle LOB" appears 2 times in the file. 550
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 554
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 565
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 573
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 593
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 606

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/PassThroughBlob.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 59

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/PassThroughClob.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "US-ASCII" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "US-ASCII encoding not supported: " appears 2 times in the file. 86

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/TemporaryLobCreator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension MultipleStringLiteralsExtended The String "Set BLOB to null" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Could not copy into LOB stream" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Set CLOB to null" appears 3 times in the file. 109

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/C3P0NativeJdbcExtractor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 69
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 106

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/CommonsDbcpNativeJdbcExtractor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getInnermostDelegate' method is 3 (max allowed is 1). 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/JBossNativeJdbcExtractor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "WrappedConnection" appears 2 times in the file. 79
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 88
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 103

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/OracleJdbc4NativeJdbcExtractor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 54

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/WebLogicNativeJdbcExtractor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 63

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/WebSphereNativeJdbcExtractor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 64

spring-framework/spring-jdbc/src/main/java/org/springframework/jdbc/support/xml/Jdbc4SqlXmlHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 93

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/config/InitializeDatabaseIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ENABLED" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/jdbc/config/jdbc-initialize-config.xml" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "dataSource" appears 7 times in the file. 62
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 123

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/config/JdbcNamespaceIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jdbc-config.xml" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "dataSource" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "derbyDataSource" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "databaseName" appears 2 times in the file. 135

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/AbstractRowMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bubba" appears 4 times in the file. 44
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 46
 Warning extension MultipleStringLiteralsExtended The String "1234.56" appears 4 times in the file. 47
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 53
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 60
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 96
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 98

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/BeanPropertyRowMapperTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension MultipleStringLiteralsExtended The String "select name, age, birth_date, balance from people" appears 5 times in the file. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 113

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "age" appears 9 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID < 3" appears 5 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "All rows returned" appears 8 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "First row is Integer" appears 5 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "Second row is Integer" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID = 3" appears 8 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "Correct result type" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "myvalue" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "22" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "Return of an int" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "Return of a long" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID < ?" appears 5 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID = ?" appears 4 times in the file. 312

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = ?" appears 10 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "bad update" appears 2 times in the file. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 227
 Warning extension MultipleStringLiteralsExtended The String "SELECT ID, FORENAME FROM CUSTMR WHERE ID < 3" appears 6 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = 4" appears 3 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "Actual rows affected is correct" appears 3 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = 1" appears 3 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = 2" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "executed 2 updates" appears 10 times in the file. 454
 Warning extension MultipleStringLiteralsExtended The String "A" appears 2 times in the file. 464
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 472
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 584
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 745
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 771
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 828
 Warning extension MultipleStringLiteralsExtended The String "07xxx" appears 3 times in the file. 828
 Warning extension MultipleStringLiteralsExtended The String "UPDATE FOO SET NAME=? WHERE ID = 1" appears 2 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "Gary" appears 2 times in the file. 893
 Warning extension MultipleStringLiteralsExtended The String "SELECT forename from custmr" appears 2 times in the file. 955
 Warning extension MultipleStringLiteralsExtended The String "My warning" appears 2 times in the file. 956
 Warning extension MultipleStringLiteralsExtended The String "I have a known problem" appears 3 times in the file. 1007
 Warning extension MultipleStringLiteralsExtended The String "99999" appears 2 times in the file. 1007
 Warning extension MultipleStringLiteralsExtended The String "SELECT ID FROM CUSTOMER" appears 3 times in the file. 1008
 Warning extension MultipleStringLiteralsExtended The String "MySQL" appears 2 times in the file. 1042
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1153
 Warning extension MultipleStringLiteralsExtended The String "my query" appears 5 times in the file. 1162
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown InvalidDataAccessApiUsageException" appears 2 times in the file. 1212
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1249
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1289
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 1290

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/RowMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension MultipleStringLiteralsExtended The String "some SQL" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 122

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/StatementCreatorUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mytype" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Informix Dynamic Server" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Informix Driver" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Apache Derby" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Apache Derby Embedded Driver" appears 3 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 173

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/BeanPropertySqlParameterSourceTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension MultipleStringLiteralsExtended The String "thisPropertyDoesNotExist" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 4 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension MultipleStringLiteralsExtended The String "age" appears 6 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 73
 Warning extension MultipleStringLiteralsExtended The String "noOp" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 36
 Warning extension MultipleStringLiteralsExtended The String "FOO" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Correct SQL Type not registered" appears 2 times in the file. 45

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 18 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "forename" appears 8 times in the file. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension MultipleStringLiteralsExtended The String "perfId" appears 4 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "priceId" appears 4 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "result" appears 6 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 14 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "country" appears 4 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "UK" appears 8 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "Customer id was assigned correctly" appears 7 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "Customer forename was assigned correctly" appears 7 times in the file. 203
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 245
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 272
 Warning extension MultipleStringLiteralsExtended The String "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = :id" appears 3 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "executed 2 updates" appears 3 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = ?" appears 3 times in the file. 420

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "age" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "id" appears 9 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID < :id" appears 5 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "All rows returned" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "First row is Integer" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID < ?" appears 5 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID = :id" appears 5 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "Correct result type" appears 5 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "SELECT AGE FROM CUSTMR WHERE ID = ?" appears 5 times in the file. 183
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 243

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 17 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "c" appears 13 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "b" appears 13 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "xxx :a :b :c" appears 5 times in the file. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension MultipleStringLiteralsExtended The String "xxx :a :b :c xx :a :b" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "xxx :a :a :a xx :a :a" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "SQL_TYPE" appears 2 times in the file. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 118
 Warning extension MultipleStringLiteralsExtended The String "select 'first name' from artists where id = ? and quote = 'exsqueeze me?'" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "select 'first name' from artists where id = :id and quote = 'exsqueeze me?'" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "p2" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "select foo from bar where baz = b:{}z" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "select foo from bar where baz = 'b:{p1}z'" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "xxx & yyyy" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 3 times in the file. 279

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/CallMetaDataContextTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "customer_no" appears 3 times in the file. 62

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/ParameterizedBeanPropertyRowMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select name, age, birth_date, balance from people" appears 2 times in the file. 59

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcCallTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MyDB" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "me" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "add_invoice" appears 9 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "amount" appears 10 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "custid" appears 10 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "newid" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "return" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "ME" appears 5 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "ADD_INVOICE" appears 4 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "COLUMN_NAME" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "COLUMN_TYPE" appears 2 times in the file. 255

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcInsertTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MyDB" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 72

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "xy" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 243
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 251
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 259
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 267
 Warning extension MultipleStringLiteralsExtended The String "executed 2 updates" appears 3 times in the file. 308
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 320
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 337

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/TableMetaDataContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "customers" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "me" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "TABLE_SCHEM" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "TABLE_NAME" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "TABLE_TYPE" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "TABLE" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "COLUMN_NAME" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "customersince" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "version" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "DATA_TYPE" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "NULLABLE" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "MyDB" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "wrong number of parameters: " appears 2 times in the file. 105

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/support/JdbcBeanDefinitionReaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one" appears 3 times in the file. 47

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/support/JdbcDaoSupportTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Correct JdbcTemplate" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "initDao called" appears 2 times in the file. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/support/LobSupportTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/support/SqlLobValueTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bla" appears 9 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "test" appears 17 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 9 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "IllegalArgumentException should have been thrown" appears 2 times in the file. 146

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/core/test/SpacePerson.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 54

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DataSourceJtaTransactionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread connection" appears 13 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations not active" appears 8 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations active" appears 6 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "Is new transaction" appears 5 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "Has thread connection" appears 18 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 574
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 594
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 674
 Warning extension MultipleStringLiteralsExtended The String "ISOLATION_REPEATABLE_READ" appears 2 times in the file. 676
 Warning extension MultipleStringLiteralsExtended The String "ds2" appears 2 times in the file. 676
 Warning extension MultipleStringLiteralsExtended The String "ds1" appears 2 times in the file. 677

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DataSourceTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 125
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread connection" appears 70 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Synchronization not active" appears 25 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Has thread connection" appears 11 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "Synchronization active" appears 16 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "Is new transaction" appears 26 times in the file. 136
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 211
 Warning extension MultipleStringLiteralsExtended The String "Application exception" appears 2 times in the file. 217
 Warning extension MoveVariableInsideIf Variable 'con' can be moved inside the block at line '226' to restrict runtime creation. 225
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RuntimeException" appears 2 times in the file. 237
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 239
 Warning extension MultipleStringLiteralsExtended The String "Correct exception thrown" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "Is existing transaction" appears 7 times in the file. 278
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 284
 Warning extension MultipleStringLiteralsExtended The String "Is not rollback-only" appears 4 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "Is rollback-only" appears 4 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown UnexpectedRollbackException" appears 2 times in the file. 346
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalTransactionStateException" appears 4 times in the file. 396
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 476
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 477
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 478
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 529
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 530
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 531
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 532
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 549
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 557
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 558
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 563
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 564
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 597
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 604
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 605
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 610
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 611
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 648
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 649
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown CannotCreateTransactionException" appears 2 times in the file. 658
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 681
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 682
 Warning extension MultipleStringLiteralsExtended The String "Isn't new transaction" appears 3 times in the file. 689
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 690
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 691
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 696
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 697
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 713
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 822
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 823
 Warning extension MultipleStringLiteralsExtended The String "some SQL statement" appears 2 times in the file. 853
 Warning extension MultipleStringLiteralsExtended The String "Cannot commit" appears 2 times in the file. 1086
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown TransactionSystemException" appears 3 times in the file. 1096
 Warning extension MultipleStringLiteralsExtended The String "Is not new transaction" appears 3 times in the file. 1167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1169
 Warning extension MultipleStringLiteralsExtended The String "Isn't nested transaction" appears 4 times in the file. 1238
 Warning extension MultipleStringLiteralsExtended The String "Is nested transaction" appears 2 times in the file. 1246
 Warning extension MultipleStringLiteralsExtended The String "SAVEPOINT_1" appears 3 times in the file. 1268
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1410
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1412
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1414
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 1416
 Warning extension MultipleStringLiteralsExtended The String "Should never be called" appears 2 times in the file. 1438
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1440
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1446
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1455
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1461
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1464

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DriverManagerDataSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "url" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "uname" appears 4 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "pwd" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "user" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "password" appears 5 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "myProp" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "yourProp" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "yourValue" appears 4 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/UserCredentialsDataSourceAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "user" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "pw" appears 4 times in the file. 38

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilderTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 54
 Warning extension MultipleStringLiteralsExtended The String "db-schema.sql" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "db-test-data.sql" appears 7 times in the file. 67

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/AbstractDatabasePopulatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select COUNT(NAME) from T_TEST where NAME='Keith'" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "select COUNT(NAME) from T_TEST where NAME='Dave'" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Brannen" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "users-data-with-comments.sql" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "Hoeller" appears 2 times in the file. 140

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 89

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/ScriptUtilsUnitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "insert into customer (id, name) values (1, 'Rod ; Johnson'), (2, 'Adrian \n Collier')" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "insert into orders(id, order_date, customer_id) values (1, '2008-01-02', 2)" appears 7 times in the file. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "wrong number of statements" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "statement 1 not split correctly" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "statement 2 not split correctly" appears 6 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "statement 3 not split correctly" appears 4 times in the file. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 149
 Warning extension MultipleStringLiteralsExtended The String ";" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 164

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/lookup/BeanFactoryDataSourceLookupTests.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 66
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 69

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/lookup/JndiDataSourceLookupTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 49

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/datasource/lookup/MapDataSourceLookupTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 37
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "A DataSourceLookup implementation must *never* return null from getDataSource(): this one obviously (and incorrectly) is" appears 3 times in the file. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 93

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/BatchSqlUpdateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "executed 2 updates" appears 2 times in the file. 90

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/GenericSqlQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension MultipleStringLiteralsExtended The String "UK" appears 3 times in the file. 98

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/GenericStoredProcedureTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/RdbmsOperationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select * from mytable" appears 8 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't allow setting parameters after compile" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't validate without enough parameters" appears 2 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/SqlQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 15 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "forename" appears 11 times in the file. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 82
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 25 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "Customer id was assigned correctly" appears 5 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "Customer forename was assigned correctly" appears 4 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "Roger" appears 2 times in the file. 311
 Warning extension MultipleStringLiteralsExtended The String "dave" appears 4 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "2 results in list" appears 2 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 427
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 501
 Warning extension MultipleStringLiteralsExtended The String "country" appears 2 times in the file. 540
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 559
 Warning extension MultipleStringLiteralsExtended The String "UK" appears 2 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 4 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "ids" appears 2 times in the file. 592
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 605
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 612
 Warning extension MultipleStringLiteralsExtended The String "We got two customers back" appears 2 times in the file. 617
 Warning extension MultipleStringLiteralsExtended The String "First customer id was assigned correctly" appears 2 times in the file. 618
 Warning extension MultipleStringLiteralsExtended The String "First customer forename was assigned correctly" appears 2 times in the file. 619
 Warning extension MultipleStringLiteralsExtended The String "Second customer id was assigned correctly" appears 2 times in the file. 620
 Warning extension MultipleStringLiteralsExtended The String "Second customer forename was assigned correctly" appears 2 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "id1" appears 4 times in the file. 644
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 657
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 704
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 740
 Warning extension MultipleStringLiteralsExtended The String "Rod" appears 2 times in the file. 741
 Warning extension MultipleStringLiteralsExtended The String "Thomas" appears 2 times in the file. 742

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/SqlUpdateTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension MultipleStringLiteralsExtended The String "priceId" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "perfId" appears 2 times in the file. 147
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 8 times in the file. 177

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Syntax error or access violation exception" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "42000" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "{call " appears 16 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "()}" appears 7 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "(?, ?, ?)}" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "(?, ?)}" appears 4 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "(?)}" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 6 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 6 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "rs" appears 6 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "spam" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "eggs" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "Spam" appears 2 times in the file. 315
 Warning extension MultipleStringLiteralsExtended The String "Eggs" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "incorrect number of returns" appears 3 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "OK" appears 4 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "out" appears 6 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "12345.6789" appears 2 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "intIn" appears 2 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "intOut" appears 2 times in the file. 445
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 450
 Warning extension MultipleStringLiteralsExtended The String "add_invoice" appears 2 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "amount" appears 3 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String "custid" appears 3 times in the file. 465
 Warning extension MultipleStringLiteralsExtended The String "newid" appears 4 times in the file. 466
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 471
 Warning extension MultipleStringLiteralsExtended The String "ptest" appears 2 times in the file. 505
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 510
 Warning extension MultipleStringLiteralsExtended The String "no_sproc_with_this_name" appears 2 times in the file. 518
 Warning extension MultipleStringLiteralsExtended The String "sproc_with_result_set" appears 2 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "in" appears 4 times in the file. 615
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 631
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 652

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/CustomSQLExceptionTranslatorRegistrarTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ouch" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "42000" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Should have been translated" appears 2 times in the file. 52

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/DataFieldMaxValueIncrementerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "select max(identity()) from myseq" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "myseq" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "seq" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "002" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "insert into myseq values(null)" appears 2 times in the file. 72

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/DefaultLobHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testContent" appears 8 times in the file. 83

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/JdbcUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Wrong db name" appears 5 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "Oracle" appears 2 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "Sybase" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "MySQL" appears 2 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "Wrong property name" appears 4 times in the file. 37

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/KeyHolderTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension MultipleStringLiteralsExtended The String "seq" appears 2 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/NativeJdbcExtractorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLErrorCodeSQLExceptionTranslatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "task" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "SQL" appears 8 times in the file. 57
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 80
 Warning extension MultipleStringLiteralsExtended The String "SQL2" appears 2 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "TASK" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "SQL SELECT *" appears 2 times in the file. 116

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLErrorCodesFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension MultipleStringLiteralsExtended The String "Oracle" appears 9 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "942" appears 2 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "9xx42" appears 2 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension MultipleStringLiteralsExtended The String "XX" appears 3 times in the file. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension MultipleStringLiteralsExtended The String "DB2" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "/DB3" appears 2 times in the file. 348

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLExceptionCustomTranslatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "task" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "SQL" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLExceptionSubclassTranslatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "task" appears 13 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "SQL" appears 9 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "SQL2" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "SQL-ECT" appears 2 times in the file. 97
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 103
 Warning extension MultipleStringLiteralsExtended The String "SQL-FBT" appears 2 times in the file. 104
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 108

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLStateExceptionTranslatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "SELECT FOO FROM BAR" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "Message" appears 5 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "task" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "SQL is correct" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Exception matches" appears 3 times in the file. 47

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLStateSQLExceptionTranslatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 47

spring-framework/spring-jdbc/src/test/java/org/springframework/jdbc/support/rowset/ResultSetWrappingRowSetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "getBigDecimal" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test" appears 15 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "getString" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "getTimestamp" appears 4 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "getDate" appears 4 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "getTime" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "getObject" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "getInt" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "getFloat" appears 4 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "getDouble" appears 4 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "getLong" appears 4 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "getBoolean" appears 4 times in the file. 192

spring-framework/spring-jms/src/main/java/org/springframework/jms/annotation/JmsListenerAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 237

spring-framework/spring-jms/src/main/java/org/springframework/jms/config/AbstractListenerContainerParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "concurrency" appears 2 times in the file. 95
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 144
 Warning extension MultipleStringLiteralsExtended The String "messageConverter" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "pubSubDomain" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "destinationResolver" appears 3 times in the file. 176
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 274
 Warning extension ReturnCountExtended Return count for 'parseAcknowledgeMode' method is 2 (max allowed is 1). 307

spring-framework/spring-jms/src/main/java/org/springframework/jms/config/JcaListenerContainerParser.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 103

spring-framework/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerContainerParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "connectionFactory" appears 2 times in the file. 120

spring-framework/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerEndpointRegistrar.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

spring-framework/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerEndpointRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 118
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 143

spring-framework/spring-jms/src/main/java/org/springframework/jms/config/MethodJmsListenerEndpoint.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 140

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/CachedMessageConsumer.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 62

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/CachedMessageProducer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "send" appears 3 times in the file. 61
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65
 Warning extension ReturnCountExtended Return count for 'invoke' method is 5 (max allowed is 1). 274
 Warning extension LogicConditionNeedOptimization Condition with && at line 276 position 40 need optimization. All method calls are advised to move to end of logic expression. 276
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 294

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "createSharedConsumer" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "createSharedDurableConsumer" appears 2 times in the file. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CachingConnectionFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 105
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 194
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 229
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 277
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 290
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 294
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 340
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 345
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 346
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 355
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 356
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 365
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 375
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 387
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 392
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 4 times in the file. 396
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 424
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 430
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 435
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 439
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 529
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 538
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 579
 Warning extension LogicConditionNeedOptimization Condition with && at line 582 position 74 need optimization. All method calls are advised to move to end of logic expression. 582

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/ChainedExceptionListener.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/ConnectionFactoryUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 75
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 229
 Warning extension ReturnCountExtended Return count for 'doGetTransactionalSession' method is 4 (max allowed is 1). 276
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 310
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 326
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 334

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/DelegatingConnectionFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'targetConnectionFactory' is not a QueueConnectionFactory" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "'targetConnectionFactory' is not a TopicConnectionFactory" appears 2 times in the file. 145

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/JmsResourceHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 157
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 165
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 210
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 227

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/JmsTransactionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setConnectionFactory' is called in constructor body. 119
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 120
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 189
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 199
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 204
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 212

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "SingleConnectionFactory does not support custom username and password" appears 3 times in the file. 230
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 244
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 264
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 427
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 428
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 462
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 476
 Warning extension ReturnCountExtended Return count for 'invoke' method is 5 (max allowed is 1). 501
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 511
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 601
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 611
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 623
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 665

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/TransactionAwareConnectionFactoryProxy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'targetConnectionFactory' is no QueueConnectionFactory" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "'targetConnectionFactory' is no TopicConnectionFactory" appears 2 times in the file. 174
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 226
 Warning extension MultipleStringLiteralsExtended The String "equals" appears 2 times in the file. 229
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 231
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 2 times in the file. 233
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 266
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 271
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 304
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 330

spring-framework/spring-jms/src/main/java/org/springframework/jms/connection/UserCredentialsConnectionFactoryAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension MultipleStringLiteralsExtended The String "'targetConnectionFactory' is required" appears 3 times in the file. 176

spring-framework/spring-jms/src/main/java/org/springframework/jms/core/JmsMessagingTemplate.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 319
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 405
 Warning extension MultipleStringLiteralsExtended The String "Could not convert '" appears 2 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 406
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 439

spring-framework/spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'initDefaultStrategies' is called in constructor body. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 189
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 212
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 221
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 386
 Warning extension MultipleStringLiteralsExtended The String "Callback object must not be null" appears 6 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "Executing callback on JMS Session: " appears 2 times in the file. 491
 Warning extension MultipleStringLiteralsExtended The String "MessageCreator must not be null" appears 2 times in the file. 599
 Warning extension MultipleStringLiteralsExtended The String "Sending created message: " appears 2 times in the file. 604

spring-framework/spring-jms/src/main/java/org/springframework/jms/core/support/JmsGatewaySupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/AbstractJmsListeningContainer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 83
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 230
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 348
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 521
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 552

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 226
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 427
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 579
 Warning extension MultipleStringLiteralsExtended The String "Application exception overridden by rollback exception" appears 2 times in the file. 764
 Warning extension ReturnCountExtended Return count for 'createConsumer' method is 5 (max allowed is 1). 801
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 806
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 813
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 819

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/AbstractPollingMessageListenerContainer.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'receiveAndExecute' method is 2 (max allowed is 1). 218
 Warning extension ReturnCountExtended Return count for 'doReceiveAndExecute' method is 2 (max allowed is 1). 260
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 273
 Warning extension MultipleStringLiteralsExtended The String "] of " appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "transactional " appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "session [" appears 2 times in the file. 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 301
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 310
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 367
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 413

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/DefaultMessageListenerContainer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 304
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 314
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 380
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 514
 Warning extension LogicConditionNeedOptimization Condition with && at line 523 position 75 need optimization. All method calls are advised to move to end of logic expression. 523
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 660
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 673
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 696
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 760
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 761
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 790
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 809
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 824
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 918
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,037 position 24 need optimization. All method calls are advised to move to end of logic expression. 1037
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1038
 Warning extension LogicConditionNeedOptimization Condition with || at line 1,038 position 42 need optimization. All method calls are advised to move to end of logic expression. 1038
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1043
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1071
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1136
 Warning extension LogicConditionNeedOptimization Condition with || at line 1,136 position 41 need optimization. All method calls are advised to move to end of logic expression. 1136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1214

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/SimpleMessageListenerContainer.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 105
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 113
 Warning extension LogicConditionNeedOptimization Condition with && at line 166 position 30 need optimization. All method calls are advised to move to end of logic expression. 166

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/adapter/AbstractAdaptableMessageListener.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 186
 Warning extension MultipleStringLiteralsExtended The String "Listener method returned result [" appears 2 times in the file. 239
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 248

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/adapter/MessageListenerAdapter.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setDelegate' is called in constructor body. 147
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 306
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 309
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 313

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/adapter/MessagingMessageListenerAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 96
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 2 times in the file. 105

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/endpoint/DefaultJmsActivationSpecFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 66
 Warning extension ReturnCountExtended Return count for 'determineActivationSpecClass' method is 4 (max allowed is 1). 76
 Warning extension MultipleStringLiteralsExtended The String "maxSessions" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "maxNumberOfWorks" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "maxConcurrency" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "maxMessagesPerSessions" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "maxMessages" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "maxBatchSize" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "useRAManagedTransaction" appears 2 times in the file. 175

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/endpoint/JmsActivationSpecConfig.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 120
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 188
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 196

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/endpoint/JmsMessageEndpointManager.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 111

spring-framework/spring-jms/src/main/java/org/springframework/jms/listener/endpoint/StandardJmsActivationSpecFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "subscriptionDurability" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "and \"Dups-ok-acknowledge\" supported in standard JCA 1.5" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "acknowledgeMode" appears 2 times in the file. 195

spring-framework/spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerClientInterceptor.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 153
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 190
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 336

spring-framework/spring-jms/src/main/java/org/springframework/jms/remoting/JmsInvokerServiceExporter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/JmsAccessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 205

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/JmsUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 93
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 113
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 133
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 156
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 182
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 202
 Warning extension MultipleStringLiteralsExtended The String "Session must not be null" appears 2 times in the file. 215
 Warning extension ReturnCountExtended Return count for 'convertJmsAccessException' method is 12 (max allowed is 1). 275

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/SimpleJmsHeaderMapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 73
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 82
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 91
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 118
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 135
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 144
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 151
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 158
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 173
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 182
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 188
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 197
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 203
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 216

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/converter/MappingJackson2MessageConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "Unsupported message type [" appears 2 times in the file. 263
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 389

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/converter/MarshallingMessageConverter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Marshaller must not be null" appears 2 times in the file. 80
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 81
 Warning extension MultipleStringLiteralsExtended The String "Could not marshal [" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "Unsupported message type [" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "]. MarshallingMessageConverter by default only supports TextMessages and BytesMessages." appears 2 times in the file. 260

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/converter/SimpleMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 202

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/destination/BeanFactoryDestinationResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "BeanFactory is required" appears 2 times in the file. 61

spring-framework/spring-jms/src/main/java/org/springframework/jms/support/destination/JndiDestinationResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "Destination [" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "] not found in JNDI" appears 2 times in the file. 117

spring-framework/spring-jms/src/test/java/org/springframework/jca/StubResourceAdapter.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 50

spring-framework/spring-jms/src/test/java/org/springframework/jms/StubTextMessage.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 88
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 111
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 119
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 123
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 127
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 131
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 135
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 139
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 143
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 147
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 151
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 202
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 210
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 214
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 218
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 222
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 226
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 230
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 234
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 238
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 242

spring-framework/spring-jms/src/test/java/org/springframework/jms/annotation/AbstractJmsAnnotationDrivenTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jmsListenerContainerFactory" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "simpleFactory" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "reply" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "failValidation" appears 2 times in the file. 216

spring-framework/spring-jms/src/test/java/org/springframework/jms/annotation/JmsListenerAnnotationBeanPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one container should have been registered" appears 2 times in the file. 92

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsListenerContainerFactoryIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "expectFooBarUpperCase" appears 3 times in the file. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsListenerContainerFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myQueue" appears 7 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "client-1234" appears 4 times in the file. 159

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsListenerContainerTestFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 29

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsListenerEndpointRegistrarTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "some id" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Container not created" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "myEndpoint" appears 2 times in the file. 95

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsListenerEndpointRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "queue" appears 2 times in the file. 56

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsListenerEndpointTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myQueue" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "foo = 'bar'" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "mySubscription" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "5-10" appears 2 times in the file. 52

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/JmsNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "listener3" appears 5 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "testResourceAdapter" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "testMessageConverter" appears 3 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "testBean1" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "testJmsFactory" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "explicit message converter not set" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "wrong concurrency" appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "Wrong phase" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "testBackOff" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "backOff" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "testJcaFactory" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Test1" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "listener1" appears 6 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "Test2" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "listener2" appears 6 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "#0" appears 7 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "Wrong concurrency on listener using placeholder" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "listener4" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "Parser should have registered a component named '" appears 2 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "#0'" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "Parser should have registered a component named 'testJcaFactory" appears 2 times in the file. 293

spring-framework/spring-jms/src/test/java/org/springframework/jms/config/MethodJmsListenerEndpointTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "my payload" appears 8 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "myCounter" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "customInt" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "abcd-1234" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "customLong" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "myMessageType" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "customBoolean" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "myBean name" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "echo text" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "link-1234" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "processAndReplyWithSendTo" appears 3 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "replyDestination" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "content" appears 2 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "validatePayload" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "invalid value" appears 3 times in the file. 307
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 422
 Warning extension MultipleStringLiteralsExtended The String "Wrong @Payload resolution" appears 2 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "Wrong @Header resolution" appears 2 times in the file. 439
 Warning extension MultipleStringLiteralsExtended The String "Missing custom header" appears 3 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "MessageHeaders not injected" appears 2 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String "Wrong content for payload" appears 2 times in the file. 473
 Warning extension MultipleStringLiteralsExtended The String "Should never be called." appears 2 times in the file. 510

spring-framework/spring-jms/src/test/java/org/springframework/jms/connection/JmsTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282

spring-framework/spring-jms/src/test/java/org/springframework/jms/connection/SingleConnectionFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myId" appears 2 times in the file. 254

spring-framework/spring-jms/src/test/java/org/springframework/jms/core/JmsMessagingTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myQueue" appears 56 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "my Payload" appears 22 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "Test exception" appears 2 times in the file. 196
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 211
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "Hello" appears 7 times in the file. 214
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 221
 Warning extension MultipleStringLiteralsExtended The String "My reply" appears 8 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "unknownQueue" appears 2 times in the file. 535
 Warning extension MultipleStringLiteralsExtended The String "Invalid foo property" appears 2 times in the file. 591

spring-framework/spring-jms/src/test/java/org/springframework/jms/core/JmsTemplateTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 78
 Warning extension MultipleStringLiteralsExtended The String "testDestination" appears 4 times in the file. 105
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 130
 Warning extension MultipleStringLiteralsExtended The String "host not found" appears 2 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension MultipleStringLiteralsExtended The String "just testing" appears 4 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "Hello world" appears 4 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String "Hello World!" appears 2 times in the file. 576
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 599
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 609
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 620
 Warning extension LogicConditionNeedOptimization Condition with && at line 638 position 30 need optimization. All method calls are advised to move to end of logic expression. 638

spring-framework/spring-jms/src/test/java/org/springframework/jms/core/support/JmsGatewaySupportTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Correct JmsTemplate" appears 2 times in the file. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55

spring-framework/spring-jms/src/test/java/org/springframework/jms/listener/AbstractMessageListenerContainerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 32
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 37

spring-framework/spring-jms/src/test/java/org/springframework/jms/listener/DefaultMessageListenerContainerTests.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 116
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 140

spring-framework/spring-jms/src/test/java/org/springframework/jms/listener/SimpleMessageListenerContainerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84
 Warning extension MultipleStringLiteralsExtended The String "messageListenerContainer" appears 2 times in the file. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242

spring-framework/spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "Doe!" appears 2 times in the file. 330
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400

spring-framework/spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessagingMessageListenerAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Response" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "msg_type" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown an exception" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "Should not have thrown a JMS exception" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Expected test exception" appears 2 times in the file. 92

spring-framework/spring-jms/src/test/java/org/springframework/jms/listener/endpoint/DefaultJmsActivationSpecFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "destinationname" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58

spring-framework/spring-jms/src/test/java/org/springframework/jms/remoting/JmsInvokerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myQueue" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "myname" appears 2 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/JmsAccessorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 33
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/JmsMessageHeaderAccessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "correlation-1234" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "abcd-1234" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 53

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/SimpleJmsHeaderMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ABC-123" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "testing" appears 2 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 29 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "custom_" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "custom_foo" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "destination" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "illegal property" appears 17 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "fail" appears 3 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "bad" appears 6 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 14 times in the file. 419

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/SimpleMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 5 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 3 times in the file. 97
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 127
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension MultipleStringLiteralsExtended The String "expected MessageConversionException" appears 2 times in the file. 171
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 172
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 189

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/converter/MappingJackson2MessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "__encoding__" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "__typeid__" appears 9 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "{\"foo\":\"bar\"}" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 5 times in the file. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 179

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/converter/MarshallingMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 2 times in the file. 77

spring-framework/spring-jms/src/test/java/org/springframework/jms/support/converter/MessagingMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "inside" appears 2 times in the file. 87

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/MessageHeaders.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 120
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 184
 Warning extension MultipleStringLiteralsExtended The String "MessageHeaders is immutable" appears 4 times in the file. 241
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 272

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/converter/AbstractMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension ReturnCountExtended Return count for 'toMessage' method is 2 (max allowed is 1). 177
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 203
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 228

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/converter/GenericMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/converter/MappingJackson2MessageConverter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'canConvertFrom' method is 3 (max allowed is 1). 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/converter/SimpleMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 43

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 160

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessagingTemplate.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/core/CachingDestinationResolverProxy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/core/GenericMessagingTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'channel' is required" appears 3 times in the file. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 115
 Warning extension MultipleStringLiteralsExtended The String "' within timeout: " appears 2 times in the file. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 129
 Warning extension MoveVariableInsideIf Variable 'originalReplyChannelHeader' can be moved inside the block at line '158' to restrict runtime creation. 142
 Warning extension MoveVariableInsideIf Variable 'originalErrorChannelHeader' can be moved inside the block at line '158' to restrict runtime creation. 143
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 186

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/DestinationPatternsMessageCondition.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 135
 Warning extension ReturnCountExtended Return count for 'getMatchingCondition' method is 3 (max allowed is 1). 154
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 164
 Warning extension ReturnCountExtended Return count for 'compareTo' method is 4 (max allowed is 1). 191

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/HandlerMethod.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bean is required" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Method is required" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "HandlerMethod is required" appears 2 times in the file. 114
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 181
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 244
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 249
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 293

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/HandlerMethodSelector.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 56

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractMethodArgumentResolutionException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 57

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 81
 Warning extension LogicConditionNeedOptimization Condition with && at line 100 position 26 need optimization. All method calls are advised to move to end of logic expression. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 147

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AnnotationExceptionHandlerMethodResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 78

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/DefaultMessageHandlerMethodFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 153

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/HeaderMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76
 Warning extension MultipleStringLiteralsExtended The String "nativeHeaders." appears 2 times in the file. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/HeadersMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 63

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 50

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/PayloadArgumentResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveArgument' method is 3 (max allowed is 1). 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 164
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 165

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/AbstractExceptionHandlerMethodResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 105

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/AbstractMethodMessageHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 248
 Warning extension MultipleStringLiteralsExtended The String "Searching methods to handle " appears 2 times in the file. 343
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 375
 Warning extension MultipleStringLiteralsExtended The String "Invoking " appears 2 times in the file. 441
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 454
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 457
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 490

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/HandlerMethodArgumentResolverComposite.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/HandlerMethodReturnValueHandlerComposite.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/InvocableHandlerMethod.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 80
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 117
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 3 times in the file. 158
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 195
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 198
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 201
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 205
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 233

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/SimpAttributes.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 152
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 173

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/SimpAttributesContextHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageHeaderAccessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageMappingInfo.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessagingTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 83
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 184
 Warning extension ReturnCountExtended Return count for 'processHeadersToSend' method is 3 (max allowed is 1). 241
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 263

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 176
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 193
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 193

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 296
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 315
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 340
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 377

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SubscriptionMethodReturnValueHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractBrokerMessageHandler.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 134

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractSubscriptionRegistry.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No destination in " appears 2 times in the file. 59

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/broker/DefaultSubscriptionRegistry.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 138
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension MoveVariableInsideIf Variable 'destination' can be moved inside the block at line '194' to restrict runtime creation. 191
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 216
 Warning extension MoveVariableInsideIf Variable 'destination' can be moved inside the block at line '220' to restrict runtime creation. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 291

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/broker/SimpleBrokerMessageHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 184
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 212

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 235
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 239
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 259
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 286
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 356

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/config/ChannelRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 76

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/config/MessageBrokerRegistry.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/config/StompBrokerRelayRegistration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "guest" appears 4 times in the file. 36

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/config/TaskExecutorRegistration.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/BufferingStompDecoder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension ReturnCountExtended Return count for 'decode' method is 2 (max allowed is 1). 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension MultipleStringLiteralsExtended The String "guest" appears 4 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119
 Warning extension MultipleStringLiteralsExtended The String ":" appears 3 times in the file. 361
 Warning extension MultipleStringLiteralsExtended The String "Forwarding " appears 3 times in the file. 372
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 388
 Warning extension MultipleStringLiteralsExtended The String "Broker not active. Ignoring " appears 2 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String " in " appears 2 times in the file. 433
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 456
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 492
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 554
 Warning extension MultipleStringLiteralsExtended The String "Failure while clearing TCP connection state in session " appears 2 times in the file. 556
 Warning extension MultipleStringLiteralsExtended The String "Received " appears 3 times in the file. 592
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 685
 Warning extension ReturnCountExtended Return count for 'forward' method is 2 (max allowed is 1). 712
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 779
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 853

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompCommand.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompDecoder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension MultipleStringLiteralsExtended The String "Decoded " appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "\\" appears 2 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "Illegal escape sequence at index " appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 255
 Warning extension ReturnCountExtended Return count for 'readPayload' method is 4 (max allowed is 1). 282
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 302
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 317

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompEncoder.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 111
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 139

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompHeaderAccessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 97
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 101
 Warning extension OverridableMethodInConstructor Overridable method 'updateSimpMessageHeadersFromStompHeaders' is called in constructor body. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 184
 Warning extension MultipleStringLiteralsExtended The String "Unexpected message type " appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "Unexpected STOMP command " appears 2 times in the file. 193
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 223
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 227
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 295
 Warning extension MultipleStringLiteralsExtended The String "PROTECTED" appears 2 times in the file. 329
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 340
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 421
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 438
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 443
 Warning extension MultipleStringLiteralsExtended The String " payload=" appears 2 times in the file. 445
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 493
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 499

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/user/DefaultUserDestinationResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension ReturnCountExtended Return count for 'parseUserDestination' method is 4 (max allowed is 1). 122
 Warning extension MoveVariableInsideIf Variable 'principal' can be moved inside the block at line '138' to restrict runtime creation. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 145
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 195

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/simp/user/DefaultUserSessionRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension MultipleStringLiteralsExtended The String "Session ID must not be null" appears 2 times in the file. 50

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/AbstractHeaderMapper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 57

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/AbstractMessageChannel.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension ReturnCountExtended Return count for 'send' method is 2 (max allowed is 1). 108
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "Failed to send message to " appears 2 times in the file. 127
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '161' to restrict runtime creation. 160
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 185
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 218

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/AbstractSubscribableChannel.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/ExecutorSubscribableChannel.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 138
 Warning extension MultipleStringLiteralsExtended The String "Failed to handle " appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String " to " appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String " in " appears 2 times in the file. 143
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '158' to restrict runtime creation. 157
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 175

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/GenericMessage.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 101
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 108

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/IdTimestampMessageHeaderInitializer.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 89

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/MessageBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Payload must not be null" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "MessageHeaderAccessor must not be null" appears 2 times in the file. 55

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/MessageHeaderAccessor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 126
 Warning extension MultipleStringLiteralsExtended The String "Already immutable" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 306
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 356
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 373
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 414
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 425
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 433
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 445
 Warning extension MultipleStringLiteralsExtended The String "headers=" appears 2 times in the file. 481
 Warning extension ReturnCountExtended Return count for 'getShortPayloadLogMessage' method is 3 (max allowed is 1). 493
 Warning extension MultipleStringLiteralsExtended The String " payload=" appears 9 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String "...(truncated)" appears 2 times in the file. 498
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 504
 Warning extension MultipleStringLiteralsExtended The String " payload=byte[" appears 2 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 510
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 529
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 604
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 647

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/support/NativeMessageHeaderAccessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 117
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 125
 Warning extension MultipleStringLiteralsExtended The String "Already immutable" appears 3 times in the file. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 159
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 193

spring-framework/spring-messaging/src/main/java/org/springframework/messaging/tcp/reactor/AbstractPromiseToListenableFutureAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 59

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/MessageHeadersTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138
 Warning extension MultipleStringLiteralsExtended The String "nosuchattribute" appears 2 times in the file. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 163
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 4 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 165
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension MultipleStringLiteralsExtended The String "address" appears 2 times in the file. 177

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/converter/AbstractMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ABC" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "success-from" appears 5 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 96

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/converter/DefaultContentTypeResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/converter/MappingJackson2MessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application" appears 7 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "json" appears 5 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "{\"bytes\":\"AQI=\",\"array\":[\"Foo\",\"Bar\"]," appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "\"number\":42,\"string\":\"Foo\",\"bool\":true,\"fraction\":42.0}" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 6 times in the file. 79
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 82
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 3 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 96
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 104
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 128
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "UTF-16BE" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "H\u00e9llo W\u00f6rld" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 4 times in the file. 156

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/converter/MessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ABC" appears 10 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "success-from" appears 5 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 109

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/converter/SimpleMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 4 times in the file. 53

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/converter/StringMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ABC" appears 11 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "H\u00e9llo W\u00f6rld" appears 2 times in the file. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 109

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/core/CachingDestinationResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension MultipleStringLiteralsExtended The String "abcd" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "dcba" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "4321" appears 3 times in the file. 39
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 56

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/core/DestinationResolvingMessagingTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myChannel" appears 14 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "key" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 13 times in the file. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75
 Warning extension MultipleStringLiteralsExtended The String "request" appears 11 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "response" appears 9 times in the file. 148

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/core/GenericMessagingTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "response" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "request" appears 2 times in the file. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/core/MessageReceivingTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "home" appears 5 times in the file. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65
 Warning extension MultipleStringLiteralsExtended The String "somewhere" appears 5 times in the file. 74
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 118

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/core/MessageRequestReplyTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "request" appears 15 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "response" appears 14 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "home" appears 6 times in the file. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 67
 Warning extension MultipleStringLiteralsExtended The String "somewhere" appears 10 times in the file. 77

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/core/MessageSendingTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 17 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "home" appears 7 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "somewhere" appears 11 times in the file. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 82
 Warning extension MultipleStringLiteralsExtended The String "expected 'id' and 'timestamp' headers only" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 135
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 175

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/DestinationPatternsMessageConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 9 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "/type1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/type2" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/method1" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "/method2" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "/foo/*" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "/foo*" appears 2 times in the file. 114

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/AnnotationExceptionHandlerMethodResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handleIOException" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "handleSocketException" appears 2 times in the file. 59
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 89

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/DefaultMessageHandlerMethodFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "simpleString" appears 6 times in the file. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension MultipleStringLiteralsExtended The String "customArgumentResolver" appears 5 times in the file. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension MultipleStringLiteralsExtended The String "payloadValidation" appears 4 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "failure" appears 3 times in the file. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 214

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/DestinationVariableMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 90

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/HeaderMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "native-foo" appears 2 times in the file. 104
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 111
 Warning extension MultipleStringLiteralsExtended The String "systemProperty" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "sysbar" appears 2 times in the file. 127

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/HeadersMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Parameter '" appears 9 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "' should be supported" appears 9 times in the file. 63

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/PayloadArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension MultipleStringLiteralsExtended The String "ABC" appears 8 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "invalidValue" appears 5 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "invalid value" appears 2 times in the file. 186

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/handler/invocation/MethodMessageHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension MultipleStringLiteralsExtended The String "pathMatchWildcard" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "bestMatch" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "secondBestMatch" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "handlerArgumentResolver" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "message" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "illegalStateException" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "exception" appears 2 times in the file. 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 198
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 206
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 227
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 274
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 283

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/SimpAttributesContextHolderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46
 Warning extension MultipleStringLiteralsExtended The String "session1" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 105

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/SimpAttributesTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 10 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "name3" appears 2 times in the file. 68

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessageHeaderAccessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "p" appears 3 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "/destination" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "subscription" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "session" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "MESSAGE destination=/destination subscriptionId=subscription " appears 2 times in the file. 47

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessagingTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "data" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "key" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "fooNative" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "barNative" appears 2 times in the file. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo-user123" appears 2 times in the file. 195

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/SimpSessionScopeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "session1" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "name" appears 9 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 63

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension MultipleStringLiteralsExtended The String "sess1" appears 17 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "sub1" appears 13 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "/app" appears 6 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "/dest" appears 6 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "/topic/dest" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "Subscription id should not be copied" appears 8 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "/dest1" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "/dest2" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "/app/" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "dest.foo.bar" appears 2 times in the file. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension MultipleStringLiteralsExtended The String "/user/" appears 7 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "/queue/dest" appears 3 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 2 times in the file. 359

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "session1" appears 10 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 9 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "headers" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "/pre/optionalHeaders" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "optionalHeaders" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "messageMappingDestinationVariable" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "subscribeEventDestinationVariable" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "simpleBinding" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "handleValidationException" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "scope" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "handleFoo" appears 3 times in the file. 216
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 262

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SubscriptionMethodReturnValueHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "sess1" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "subs1" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "/dest" appears 3 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 165
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 170

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/broker/BrokerMessageHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/broker/DefaultSubscriptionRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sess01" appears 16 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "subs01" appears 13 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 16 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Expected one element " appears 5 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "subs02" appears 10 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "subs03" appears 6 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "sess02" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "sess03" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "/topic/PRICE.STOCK.*.IBM" appears 3 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "/topic/PRICE.STOCK.NASDAQ.IBM" appears 15 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "/topic/PRICE.STOCK.NYSE.IBM" appears 5 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "/topic/PRICE.STOCK.NASDAQ.GOOG" appears 5 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "Expected no elements " appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "Expected 1 element" appears 2 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 335

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/broker/SimpleBrokerMessageHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sess1" appears 8 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "sub1" appears 7 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 16 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "sub2" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "sub3" appears 7 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "/bar" appears 9 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "sess2" appears 7 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "message1" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "message2" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 4 times in the file. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/config/MessageBrokerConfigurationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "clientInboundChannel" appears 3 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "clientInboundChannelExecutor" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "clientOutboundChannel" appears 3 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "sess1" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "subs1" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 6 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "clientOutboundChannelExecutor" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "brokerChannel" appears 5 times in the file. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension MultipleStringLiteralsExtended The String "brokerChannelExecutor" appears 2 times in the file. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 350
 Warning extension MultipleStringLiteralsExtended The String "a.a" appears 2 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "/topic" appears 2 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "/queue" appears 2 times in the file. 453

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/config/StompBrokerRelayRegistrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "clientlogin" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "clientpasscode" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "syslogin" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "syspasscode" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "example.org" appears 2 times in the file. 57

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/BufferingStompDecoderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Message body" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Payload1" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Payload2a-Payload2b" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "\nPayload2a" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "-Payload2b\0" appears 2 times in the file. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 164
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 180

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sess1" appears 7 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "subs1" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "/topic/test" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "r1" appears 2 times in the file. 160
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 169
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 281
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 301
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 3 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "1.1,1.2" appears 2 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 3 times in the file. 492
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 507

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sess1" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "The prepared message does not have an accessor" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "clientlogin" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "clientpasscode" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "syslogin" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "syspasscode" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 2 times in the file. 156
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 189

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompCodecTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension MultipleStringLiteralsExtended The String "DISCONNECT\n\n\0" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "github.org" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "SEND\ndestination:test\n\nThe body of the message\0" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "The body of the message" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "DISCONNECT\na\\c\\r\\n\\\\b:alpha\\cbravo\\r\\n\\\\\n\n\0" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "alpha:bravo\r\n\\" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "a:\r\n\\b" appears 2 times in the file. 163
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 178
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 220
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 225
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension MultipleStringLiteralsExtended The String "Message body" appears 2 times in the file. 287
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 328

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "s1" appears 14 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "/d" appears 9 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "joe123" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "accountId" appears 4 times in the file. 202

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/user/DefaultUserDestinationResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/user/queue/foo" appears 7 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo-user123" appears 5 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "456" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo-user" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "/user/" appears 3 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo" appears 5 times in the file. 126

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/user/DefaultUserSessionRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jane" appears 2 times in the file. 48

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/simp/user/UserDestinationMessageHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123" appears 8 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 8 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "/user/queue/foo" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo-user123" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "/queue/foo" appears 2 times in the file. 109

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/support/ChannelInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension MultipleStringLiteralsExtended The String "Simulated exception" appears 4 times in the file. 152
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 159
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 176
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 250

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/support/ExecutorSubscribableChannelTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 241

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/support/MessageBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 36 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 19 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "count" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "bar2" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "bar3" appears 2 times in the file. 227

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/support/MessageHeaderAccessorTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 25 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 20 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 13 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "BAR" appears 5 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "bar2" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "bar3" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "Already immutable" appears 2 times in the file. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension MultipleStringLiteralsExtended The String "headers={contentType=text/plain} payload=p" appears 6 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "p" appears 6 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String " > 80" appears 5 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "headers={contentType=text/plain} payload=" appears 6 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "...(truncated)" appears 2 times in the file. 333

spring-framework/spring-messaging/src/test/java/org/springframework/messaging/support/NativeMessageHeaderAccessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 30 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 18 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 12 times in the file. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "p" appears 2 times in the file. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension MultipleStringLiteralsExtended The String "B" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "BAR" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "Already immutable" appears 2 times in the file. 170

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/ConfigurableJtaPlatform.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 81
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 128
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 145
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 147

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/HibernateTemplate.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setSessionFactory' is called in constructor body. 117
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 339
 Warning extension MultipleStringLiteralsExtended The String "Length of paramNames array must match length of values array" appears 2 times in the file. 892
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1053
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 1233
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1238
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1256
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1259
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1265

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/HibernateTransactionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 148
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 292
 Warning extension LogicConditionNeedOptimization Condition with && at line 350 position 47 need optimization. All method calls are advised to move to end of logic expression. 350
 Warning extension MultipleStringLiteralsExtended The String "] for Hibernate transaction" appears 2 times in the file. 383
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 413
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 434
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 448
 Warning extension MoveVariableInsideIf Variable 'flushMode' can be moved inside the block at line '483' to restrict runtime creation. 482
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 493
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 529
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 536
 Warning extension LogicConditionNeedOptimization Condition with && at line 614 position 32 need optimization. All method calls are advised to move to end of logic expression. 614
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 662
 Warning extension MultipleStringLiteralsExtended The String "] after transaction" appears 2 times in the file. 669
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 787
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 791

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/LocalSessionFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 477

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/LocalSessionFactoryBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 276
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 277
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 278
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 350
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 367

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/SessionFactoryUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 126
 Warning extension ReturnCountExtended Return count for 'convertHibernateAccessException' method is 22 (max allowed is 1). 140
 Warning extension MultipleStringLiteralsExtended The String "; SQL [" appears 6 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 146

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/SpringFlushSynchronization.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 55

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/SpringSessionContext.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 70
 Warning extension ReturnCountExtended Return count for 'currentSession' method is 3 (max allowed is 1). 81

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/support/HibernateDaoSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/support/OpenSessionInViewFilter.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'asyncManager' can be moved inside the block at line '136' to restrict runtime creation. 129
 Warning extension MoveVariableInsideIf Variable 'key' can be moved inside the block at line '136' to restrict runtime creation. 130
 Warning extension MoveVariableInsideIf Variable 'sessionHolder' can be moved inside the block at line '158' to restrict runtime creation. 156

spring-framework/spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/support/OpenSessionInViewInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 116

spring-framework/spring-orm-hibernate4/src/test/java/org/springframework/orm/hibernate4/HibernateTemplateTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "no current session" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "Correct result list" appears 6 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "myFilter" appears 19 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "yourFilter" appears 5 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "Correct filter" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "some query" appears 8 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "some query name" appears 24 times in the file. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension MultipleStringLiteralsExtended The String "myRegion" appears 5 times in the file. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension MultipleStringLiteralsExtended The String "Correct result" appears 7 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "myEntity" appears 18 times in the file. 358
 Warning extension MultipleStringLiteralsExtended The String "id" appears 13 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown HibernateObjectRetrievalFailureException" appears 4 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "myCacheRegion" appears 9 times in the file. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension MultipleStringLiteralsExtended The String "Correct return value" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown InvalidDataAccessApiUsageException" appears 4 times in the file. 511
 Warning extension MultipleStringLiteralsExtended The String "some query string" appears 28 times in the file. 622
 Warning extension MultipleStringLiteralsExtended The String "Correct list" appears 22 times in the file. 625
 Warning extension MultipleStringLiteralsExtended The String "myvalue" appears 18 times in the file. 633
 Warning extension MultipleStringLiteralsExtended The String "myvalue1" appears 18 times in the file. 645
 Warning extension MultipleStringLiteralsExtended The String "myparam" appears 6 times in the file. 659
 Warning extension MultipleStringLiteralsExtended The String "myparam1" appears 6 times in the file. 671
 Warning extension MultipleStringLiteralsExtended The String "myparam2" appears 6 times in the file. 672
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 675
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 676
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 752
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 753
 Warning extension MultipleStringLiteralsExtended The String "mymsg" appears 14 times in the file. 903
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 916
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown InvalidDataAccessResourceUsageException" appears 2 times in the file. 927
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 932
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 948
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown DataIntegrityViolationException" appears 3 times in the file. 959
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 964
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 980
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 996
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1012
 Warning extension MultipleStringLiteralsExtended The String "msg" appears 5 times in the file. 1041
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 1056
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown HibernateOptimisticLockingFailureException" appears 2 times in the file. 1147

spring-framework/spring-orm-hibernate4/src/test/java/org/springframework/orm/hibernate4/HibernateTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "some query string" appears 6 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread session" appears 40 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread connection" appears 16 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations not active" appears 28 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "Has thread session" appears 29 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Has thread connection" appears 10 times in the file. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "Correct result list" appears 6 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "application exception" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RuntimeException" appears 2 times in the file. 173
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 175
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 298
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown UnexpectedRollbackException" appears 3 times in the file. 337
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension MultipleStringLiteralsExtended The String "Same thread session as before" appears 2 times in the file. 389
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 444
 Warning extension MultipleStringLiteralsExtended The String "Is not new transaction" appears 3 times in the file. 481
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 482
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 483
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 525
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 526
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 578
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 579
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 585
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 595
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 596
 Warning extension MultipleStringLiteralsExtended The String "entityInterceptor" appears 2 times in the file. 668
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 725
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 726
 Warning extension MultipleStringLiteralsExtended The String "mymsg" appears 2 times in the file. 755
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 781
 Warning extension MultipleStringLiteralsExtended The String "Has thread transaction" appears 2 times in the file. 824
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread transaction" appears 4 times in the file. 834
 Warning extension MultipleStringLiteralsExtended The String "hibernate.dialect" appears 3 times in the file. 1134
 Warning extension MultipleStringLiteralsExtended The String "from java.lang.Object" appears 3 times in the file. 1156
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown CannotCreateTransactionException" appears 2 times in the file. 1159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1208
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1283
 Warning extension MultipleStringLiteralsExtended The String "retrieveTransactionManager" appears 2 times in the file. 1310
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1312
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1324

spring-framework/spring-orm-hibernate4/src/test/java/org/springframework/orm/jpa/jpa21/PersistenceContextTransactionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92

spring-framework/spring-orm-hibernate4/src/test/java/org/springframework/validation/hibernatevalidator5/BeanValidationPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bvpp" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "capp" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "invalid" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "stringValue" appears 3 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95

spring-framework/spring-orm-hibernate4/src/test/java/org/springframework/validation/hibernatevalidator5/MethodValidationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown MethodConstraintViolationException" appears 5 times in the file. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117

spring-framework/spring-orm-hibernate4/src/test/java/org/springframework/validation/hibernatevalidator5/ValidatorFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "address.street" appears 8 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "Invalid constraint violation with path '" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Juergen's Street" appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String "Phil" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "person" appears 5 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "address" appears 2 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension MultipleStringLiteralsExtended The String "NotNull.java.lang.String" appears 2 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension MultipleStringLiteralsExtended The String "NotNull" appears 2 times in the file. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension MultipleStringLiteralsExtended The String "addressList[0].street" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "addressSet[].street" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "mainBean" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "inner.value" appears 2 times in the file. 213
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 240
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 243
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 315

spring-framework/spring-orm/src/main/java/org/springframework/orm/ObjectOptimisticLockingFailureException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Object of class [" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "] with identifier [" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "]: optimistic locking failed" appears 2 times in the file. 68
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 134
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145

spring-framework/spring-orm/src/main/java/org/springframework/orm/ObjectRetrievalFailureException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Object of class [" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "] with identifier [" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "]: not found" appears 2 times in the file. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 119

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/AbstractSessionFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 245

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/FilterDefinitionFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/HibernateAccessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 124
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 175
 Warning extension ReturnCountExtended Return count for 'applyFlushMode' method is 2 (max allowed is 1). 331

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/HibernateInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/HibernateTemplate.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setAllowCreate' is called in constructor body. 151
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 397
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 399
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 410
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 489
 Warning extension MultipleStringLiteralsExtended The String "Length of paramNames array must match length of values array" appears 2 times in the file. 1003
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1174
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 1369
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1374
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1392
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1395
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1401

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/HibernateTransactionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 175
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 324
 Warning extension LogicConditionNeedOptimization Condition with && at line 408 position 47 need optimization. All method calls are advised to move to end of logic expression. 408
 Warning extension MultipleStringLiteralsExtended The String "] for Hibernate transaction" appears 2 times in the file. 442
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 473
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 495
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 510
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 551
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 587
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 594
 Warning extension LogicConditionNeedOptimization Condition with && at line 692 position 32 need optimization. All method calls are advised to move to end of logic expression. 692
 Warning extension MultipleStringLiteralsExtended The String "] after transaction" appears 2 times in the file. 742
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 877
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 881

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 176
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 178
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 180
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 182
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 188
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 190
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 192
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 194
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 196
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 198
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 200
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 202
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 206
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 208
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 210
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 212
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 214
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 532

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/SessionFactoryUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 172
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension MultipleStringLiteralsExtended The String "Could not open Hibernate Session" appears 3 times in the file. 211
 Warning extension ReturnCountExtended Return count for 'doGetSession' method is 3 (max allowed is 1). 282
 Warning extension MultipleStringLiteralsExtended The String "No SessionFactory specified" appears 5 times in the file. 287
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 327
 Warning extension ReturnCountExtended Return count for 'getJtaSynchronizedSession' method is 2 (max allowed is 1). 377
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 428
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 481
 Warning extension ReturnCountExtended Return count for 'getNewSession' method is 4 (max allowed is 1). 515
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 571
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 588
 Warning extension ReturnCountExtended Return count for 'convertHibernateAccessException' method is 20 (max allowed is 1). 636
 Warning extension MultipleStringLiteralsExtended The String "; SQL [" appears 6 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 642
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 721
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 825

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/SessionHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/SpringSessionContext.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 65

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/SpringSessionSynchronization.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 182

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/annotation/AnnotationSessionFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/AbstractLobType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No LobHandler found for configuration - " appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "lobHandler property must be set on LocalSessionFactoryBean" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "I/O errors during LOB access" appears 2 times in the file. 163

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/BlobByteArrayType.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BlobByteArrayType' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 51

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/BlobSerializableType.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BlobSerializableType' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 67
 Warning extension MultipleStringLiteralsExtended The String "Couldn't clone BLOB contents" appears 2 times in the file. 117

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/BlobStringType.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BlobStringType' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 101

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/ClobStringType.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ClobStringType' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 53

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/HibernateDaoSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 175

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'asyncManager' can be moved inside the block at line '198' to restrict runtime creation. 195
 Warning extension MoveVariableInsideIf Variable 'key' can be moved inside the block at line '198' to restrict runtime creation. 196
 Warning extension MoveVariableInsideIf Variable 'sessionHolder' can be moved inside the block at line '239' to restrict runtime creation. 237

spring-framework/spring-orm/src/main/java/org/springframework/orm/hibernate3/support/OpenSessionInViewInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 160

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/JdoObjectRetrievalFailureException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 37
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 38

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/JdoOptimisticLockingFailureException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 37
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 38

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/JdoTransactionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 128
 Warning extension MultipleStringLiteralsExtended The String "] for JDO transaction" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 345
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 370
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 389
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 494
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 555

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/LocalPersistenceManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 286

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/PersistenceManagerFactoryUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doGetPersistenceManager' method is 2 (max allowed is 1). 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 190
 Warning extension ReturnCountExtended Return count for 'convertJdoAccessException' method is 5 (max allowed is 1). 222
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 259

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/TransactionAwarePersistenceManagerFactoryProxy.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 90
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 143
 Warning extension MultipleStringLiteralsExtended The String "equals" appears 2 times in the file. 146
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 2 times in the file. 150
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 168
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 190
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 195
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 213

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/support/OpenPersistenceManagerInViewInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/support/SpringPersistenceManagerProxyBean.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 222

spring-framework/spring-orm/src/main/java/org/springframework/orm/jdo/support/StandardPersistenceManagerProxyBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 65

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/AbstractEntityManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 342
 Warning extension ReturnCountExtended Return count for 'invokeProxyMethod' method is 2 (max allowed is 1). 373
 Warning extension LogicConditionNeedOptimization Condition with && at line 377 position 58 need optimization. All method calls are advised to move to end of logic expression. 377
 Warning extension LogicConditionNeedOptimization Condition with && at line 377 position 74 need optimization. All method calls are advised to move to end of logic expression. 377
 Warning extension LogicConditionNeedOptimization Condition with && at line 377 position 93 need optimization. All method calls are advised to move to end of logic expression. 377
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 381
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 417
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 447
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 524
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 528
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 544

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/DefaultJpaDialect.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/EntityManagerFactoryAccessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "No EntityManagerFactory specified" appears 2 times in the file. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 154

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/EntityManagerFactoryUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 97
 Warning extension ReturnCountExtended Return count for 'findEntityManagerFactory' method is 2 (max allowed is 1). 121
 Warning extension ReturnCountExtended Return count for 'doGetTransactionalEntityManager' method is 4 (max allowed is 1). 215
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 282
 Warning extension ReturnCountExtended Return count for 'convertJpaAccessExceptionIfPossible' method is 12 (max allowed is 1). 374
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 441
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 467
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 491

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/ExtendedEntityManagerCreator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 169
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 198
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 233
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 264
 Warning extension ReturnCountExtended Return count for 'invoke' method is 3 (max allowed is 1). 281
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 286
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 347
 Warning extension MultipleStringLiteralsExtended The String "No local transaction to join" appears 2 times in the file. 382
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 423
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 442
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 459
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 473
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 489

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 269
 Warning extension MultipleStringLiteralsExtended The String "] for JPA transaction" appears 2 times in the file. 335
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 404
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 429
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 448
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 465
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 523
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 528
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 588
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 637
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 673

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 397
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 401

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/LocalEntityManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 81

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/SharedEntityManagerCreator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 117
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 120
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 162
 Warning extension ReturnCountExtended Return count for 'invoke' method is 4 (max allowed is 1). 203
 Warning extension MultipleStringLiteralsExtended The String "equals" appears 2 times in the file. 206
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 208
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 2 times in the file. 210
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 228
 Warning extension MultipleStringLiteralsExtended The String "unwrap" appears 3 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "No transactional EntityManager available" appears 3 times in the file. 260
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 283
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 307
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 341
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 346
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 363
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 366
 Warning extension FinalizeImplementation finalize() method should contain try-finally block with super.finalize() call inside finally block. 378

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/ClassFileTransformerAdapter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Error weaving class [" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "] with " appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "transformer of class [" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Could not weave class [" appears 2 times in the file. 68
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 70

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/DefaultPersistenceUnitManager.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 101
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 107
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 159
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 310
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 481
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 483

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/MutablePersistenceUnitInfo.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 107

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/PersistenceUnitReader.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 149
 Warning extension ReturnCountExtended Return count for 'determinePersistenceUnitRootUrl' method is 3 (max allowed is 1). 195

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/SpringPersistenceUnitInfo.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/support/OpenEntityManagerInViewFilter.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'asyncManager' can be moved inside the block at line '158' to restrict runtime creation. 151
 Warning extension MoveVariableInsideIf Variable 'key' can be moved inside the block at line '158' to restrict runtime creation. 152
 Warning extension MoveVariableInsideIf Variable 'emHolder' can be moved inside the block at line '185' to restrict runtime creation. 183

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/support/OpenEntityManagerInViewInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 81

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 203
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 310
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 356
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 381
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 406
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 410
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 456
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 468
 Warning extension MultipleStringLiteralsExtended The String "] from JNDI" appears 2 times in the file. 469
 Warning extension ReturnCountExtended Return count for 'getPersistenceContext' method is 2 (max allowed is 1). 485
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 486
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 488
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 500
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 523
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 527
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 650
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 668
 Warning extension LogicConditionNeedOptimization Condition with && at line 731 position 40 need optimization. All method calls are advised to move to end of logic expression. 731

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/support/SharedEntityManagerBean.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'emfInfo' can be moved inside the block at line '92' to restrict runtime creation. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/AbstractJpaVendorAdapter.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 120

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/EclipseLinkJpaDialect.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 86 position 31 need optimization. All method calls are advised to move to end of logic expression. 86

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/EclipseLinkJpaVendorAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/HibernateJpaDialect.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 147
 Warning extension ReturnCountExtended Return count for 'convertHibernateAccessException' method is 21 (max allowed is 1). 232
 Warning extension MultipleStringLiteralsExtended The String "; SQL [" appears 6 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "connection" appears 2 times in the file. 352

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/HibernateJpaVendorAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 116

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/OpenJpaDialect.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 126

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/OpenJpaVendorAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension MultipleStringLiteralsExtended The String "openjpa.jdbc.DBDictionary" appears 2 times in the file. 68

spring-framework/spring-orm/src/main/java/org/springframework/orm/jpa/vendor/SpringHibernateEjbPersistenceProvider.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 51

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 80
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 83
 Warning extension MultipleStringLiteralsExtended The String "Should not have thrown Throwable: " appears 13 times in the file. 84
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 96
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 99
 Warning extension MultipleStringLiteralsExtended The String "myFilter" appears 7 times in the file. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 112
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 115
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 130
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 133
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 152
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 155
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 174
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 177
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 199
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 202
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 224
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 227
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 248
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 251
 Warning extension MultipleStringLiteralsExtended The String "yourFilter" appears 3 times in the file. 270
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 271
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 274
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 310
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 315
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 318
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 334
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 337
 Warning extension MultipleStringLiteralsExtended The String "entityInterceptor" appears 2 times in the file. 354
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 362
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 365

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateJtaTransactionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "some query string" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations not active" appears 20 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread session" appears 38 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations active" appears 7 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "Has thread session" appears 40 times in the file. 131
 Warning extension EitherLogOrThrow Either log or throw exception. 149
 Warning extension MultipleStringLiteralsExtended The String "Correct result list" appears 4 times in the file. 155
 Warning extension EitherLogOrThrow Either log or throw exception. 245
 Warning extension MultipleStringLiteralsExtended The String "flush failure" appears 2 times in the file. 282
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 287
 Warning extension EitherLogOrThrow Either log or throw exception. 322
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension EitherLogOrThrow Either log or throw exception. 389
 Warning extension EitherLogOrThrow Either log or throw exception. 503
 Warning extension EitherLogOrThrow Either log or throw exception. 589
 Warning extension MultipleStringLiteralsExtended The String "Same thread session as before" appears 2 times in the file. 689
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown DataAccessException" appears 2 times in the file. 695
 Warning extension MultipleStringLiteralsExtended The String "Is not new transaction" appears 2 times in the file. 935
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 936
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 937
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 988
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 989
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1010
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1017
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1018
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronization registered" appears 9 times in the file. 1057

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateTemplateTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "Correct result list" appears 11 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "myFilter" appears 19 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "yourFilter" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "Correct filter" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "some query" appears 8 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "some query name" appears 24 times in the file. 405
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 415
 Warning extension MultipleStringLiteralsExtended The String "myRegion" appears 5 times in the file. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 450
 Warning extension MultipleStringLiteralsExtended The String "Correct result" appears 11 times in the file. 529
 Warning extension MultipleStringLiteralsExtended The String "myEntity" appears 29 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "id" appears 13 times in the file. 576
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown HibernateObjectRetrievalFailureException" appears 4 times in the file. 580
 Warning extension MultipleStringLiteralsExtended The String "myCacheRegion" appears 9 times in the file. 667
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 691
 Warning extension MultipleStringLiteralsExtended The String "Correct return value" appears 2 times in the file. 728
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown InvalidDataAccessApiUsageException" appears 4 times in the file. 801
 Warning extension MultipleStringLiteralsExtended The String "some query string" appears 28 times in the file. 960
 Warning extension MultipleStringLiteralsExtended The String "Correct list" appears 22 times in the file. 963
 Warning extension MultipleStringLiteralsExtended The String "myvalue" appears 18 times in the file. 973
 Warning extension MultipleStringLiteralsExtended The String "myvalue1" appears 18 times in the file. 987
 Warning extension MultipleStringLiteralsExtended The String "myparam" appears 6 times in the file. 1003
 Warning extension MultipleStringLiteralsExtended The String "myparam1" appears 6 times in the file. 1017
 Warning extension MultipleStringLiteralsExtended The String "myparam2" appears 6 times in the file. 1018
 Warning extension MultipleStringLiteralsExtended The String "argh" appears 2 times in the file. 1285
 Warning extension MultipleStringLiteralsExtended The String "27" appears 2 times in the file. 1285
 Warning extension MultipleStringLiteralsExtended The String "mymsg" appears 16 times in the file. 1287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1300
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown InvalidDataAccessResourceUsageException" appears 2 times in the file. 1311
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1332
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown DataIntegrityViolationException" appears 4 times in the file. 1343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1380
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1396
 Warning extension MultipleStringLiteralsExtended The String "msg" appears 5 times in the file. 1425
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 1441
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown HibernateOptimisticLockingFailureException" appears 2 times in the file. 1532
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1591

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/HibernateTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "some query string" appears 8 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread session" appears 42 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread connection" appears 16 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations not active" appears 28 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "Has thread session" appears 29 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "Has thread connection" appears 10 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension MultipleStringLiteralsExtended The String "Correct result list" appears 7 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "application exception" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RuntimeException" appears 2 times in the file. 177
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 179
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 389
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown UnexpectedRollbackException" appears 3 times in the file. 435
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 474
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 485
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension MultipleStringLiteralsExtended The String "Same thread session as before" appears 2 times in the file. 492
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 494
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 532
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 539
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 554
 Warning extension MultipleStringLiteralsExtended The String "Is not new transaction" appears 3 times in the file. 592
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 593
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 594
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 644
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 645
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 701
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 702
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 717
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 718
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 725
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 726
 Warning extension MultipleStringLiteralsExtended The String "entityInterceptor" appears 2 times in the file. 802
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 866
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 867
 Warning extension MultipleStringLiteralsExtended The String "mymsg" appears 3 times in the file. 906
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 944
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread transaction" appears 3 times in the file. 1003
 Warning extension MultipleStringLiteralsExtended The String "hibernate.dialect" appears 3 times in the file. 1274
 Warning extension MultipleStringLiteralsExtended The String "hibernate.cache.provider_class" appears 3 times in the file. 1275
 Warning extension MultipleStringLiteralsExtended The String "from java.lang.Object" appears 3 times in the file. 1297
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown CannotCreateTransactionException" appears 2 times in the file. 1300
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1350
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1426

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/LocalSessionFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "addResource" appears 8 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "newSessionFactory" appears 14 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 212
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/beans/factory/xml/test.xml" appears 2 times in the file. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 4 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "myProperty" appears 4 times in the file. 287
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 292
 Warning extension MultipleStringLiteralsExtended The String "myClass" appears 2 times in the file. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 334
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 345
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 2 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "Correct exception" appears 2 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.tests.sample.beans.TestBean" appears 2 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.tests.sample.beans.TestBean.friends" appears 2 times in the file. 460
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 479
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 547

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/support/HibernateDaoSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Correct HibernateTemplate" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "initDao called" appears 2 times in the file. 51

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/support/LobTypeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "column" appears 35 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "content" appears 51 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "SpringLobCreatorSynchronization" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 303
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 472
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 477
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 3 times in the file. 483

spring-framework/spring-orm/src/test/java/org/springframework/orm/hibernate3/support/OpenSessionInViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension MultipleStringLiteralsExtended The String "anything" appears 4 times in the file. 182
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension MultipleStringLiteralsExtended The String "sessionFactory" appears 6 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "mySessionFactory" appears 6 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 6 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "filter2" appears 4 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "sessionFactoryBeanName" appears 4 times in the file. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension MultipleStringLiteralsExtended The String "invoked" appears 8 times in the file. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 464
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 471
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 511
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 525
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 531
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension MultipleStringLiteralsExtended The String "singleSession" appears 4 times in the file. 630
 Warning extension MultipleStringLiteralsExtended The String "false" appears 4 times in the file. 630

spring-framework/spring-orm/src/test/java/org/springframework/orm/jdo/JdoTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread pm" appears 25 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "JTA synchronizations not active" appears 16 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Has thread pm" appears 17 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Correct result list" appears 12 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "application exception" appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RuntimeException" appears 3 times in the file. 159
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 161
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 194
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 287
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 468
 Warning extension MultipleStringLiteralsExtended The String "Has thread con" appears 3 times in the file. 592
 Warning extension MultipleStringLiteralsExtended The String "Hasn't thread con" appears 5 times in the file. 600

spring-framework/spring-orm/src/test/java/org/springframework/orm/jdo/LocalPersistenceManagerFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown JDOFatalUserException" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Correct exception" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "myName" appears 3 times in the file. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155

spring-framework/spring-orm/src/test/java/org/springframework/orm/jdo/support/OpenPersistenceManagerInViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "myPersistenceManagerFactory" appears 2 times in the file. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension MultipleStringLiteralsExtended The String "invoked" appears 2 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/AbstractContainerEntityManagerFactoryIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension MultipleStringLiteralsExtended The String "Should be no people from previous transactions" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "person" appears 5 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "select p from Person as p" appears 7 times in the file. 79
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 94
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 95
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 110
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "Blair" appears 3 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NoResultException" appears 4 times in the file. 190
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/AbstractEntityManagerFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/AbstractEntityManagerFactoryIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/orm/jpa/memdb.xml" appears 3 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/orm/jpa/inject.xml" appears 3 times in the file. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/ApplicationManagedEntityManagerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension MultipleStringLiteralsExtended The String "person" appears 7 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "Tx must have committed back" appears 2 times in the file. 123

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/ContainerManagedEntityManagerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 88
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 107
 Warning extension MultipleStringLiteralsExtended The String "person" appears 7 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "Tx must have committed back" appears 2 times in the file. 143

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/EntityManagerFactoryUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 140

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/JpaTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension MultipleStringLiteralsExtended The String "test" appears 16 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension MultipleStringLiteralsExtended The String "some exception" appears 4 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "Should have propagated RuntimeException" appears 3 times in the file. 169
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 350
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 449
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 472
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 488
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 491
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 492
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 499
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 513
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 514
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 534
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 556
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 557
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 572
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 577
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 578
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 583
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 584
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 585
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 592
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 593
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 605
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 606
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 611
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 612
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 613
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 620
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 621
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 631
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 634
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 635
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 642
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 643
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 650
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 651
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 666
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 667
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 674
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 675
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 682
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 683
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 696
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 701
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 702
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 709
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 710
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 711
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 718
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 719
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 733
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 734
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 741
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 742
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 743
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 750
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 751
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 769
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 772
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 773
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 778
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 779
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 785
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 787
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 788
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 820
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 821
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 826
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 831
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 832

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "EntityManagerFactory reference must be cached after init" appears 5 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "EMF must be proxied" appears 5 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "emf" appears 2 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 217
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/orm/jpa/domain/persistence.xml" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "call me Bob" appears 2 times in the file. 252

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/SharedEntityManagerCreatorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 44
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 79

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/domain/DriversLicense.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 40

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/domain/Person.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 68
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 72
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 76
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 80

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/eclipselink/EclipseLinkEntityManagerFactoryIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/hibernate/HibernateEntityManagerFactoryIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/openjpa/OpenJpaEntityManagerFactoryIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "select p from Person as p" appears 2 times in the file. 71

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/persistenceunit/PersistenceXmlParsingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/orm/jpa/META-INF/persistence.xml" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "OrderManagement" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "order.jar" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "order-supplemental.jar" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Exclude unlisted should default false in 1.0." appears 8 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Exclude unlisted should be true when no value." appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "order2.xml" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "com.acme.AcmePersistence" appears 3 times in the file. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 255
 Warning extension MultipleStringLiteralsExtended The String "expected invalid document exception" appears 2 times in the file. 263
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 265
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 269
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/orm/jpa/persistence-no-schema.xml" appears 2 times in the file. 274
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 279
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension MultipleStringLiteralsExtended The String "The number of persistence units is incorrect." appears 2 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "noExclude should not be null." appears 2 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "noExclude name is not correct." appears 2 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "NoExcludeElement" appears 2 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "emptyExclude should not be null." appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "emptyExclude name is not correct." appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "EmptyExcludeElement" appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "emptyExclude should be true." appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "trueExclude should not be null." appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "trueExclude name is not correct." appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "TrueExcludeElement" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "trueExclude should be true." appears 2 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "falseExclude should not be null." appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "falseExclude name is not correct." appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "FalseExcludeElement" appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "falseExclude should be false." appears 2 times in the file. 338

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/support/OpenEntityManagerInViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension MultipleStringLiteralsExtended The String "anything" appears 3 times in the file. 150
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension MultipleStringLiteralsExtended The String "entityManagerFactory" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "myEntityManagerFactory" appears 4 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "filter2" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "entityManagerFactoryBeanName" appears 2 times in the file. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension MultipleStringLiteralsExtended The String "invoked" appears 4 times in the file. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 279
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 360
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/support/PersistenceContextTransactionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/support/PersistenceInjectionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "entityManagerFactory" appears 15 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "annotationProcessor" appears 13 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "myScope" appears 2 times in the file. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension MultipleStringLiteralsExtended The String "entityManagerFactory2" appears 3 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "Person" appears 7 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "defaultPersistenceUnitName" appears 2 times in the file. 292
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 334
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 341
 Warning extension MultipleStringLiteralsExtended The String "pu1" appears 3 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "pu2" appears 2 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/pu1" appears 3 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/pu2" appears 2 times in the file. 346
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 380
 Warning extension MultipleStringLiteralsExtended The String "System" appears 7 times in the file. 381
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 408
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 437
 Warning extension MultipleStringLiteralsExtended The String "pc1" appears 3 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "pc2" appears 3 times in the file. 439
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 440
 Warning extension MultipleStringLiteralsExtended The String "pc3" appears 2 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/pc1" appears 3 times in the file. 443
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/pc2" appears 3 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "java:comp/env/pc3" appears 2 times in the file. 445
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 477
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 480
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 517
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 519
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 6 times in the file. 548
 Warning extension MultipleStringLiteralsExtended The String "Can't inject this setter" appears 2 times in the file. 561
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 594
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 594
 Warning extension MultipleStringLiteralsExtended The String "bean1" appears 2 times in the file. 644
 Warning extension MultipleStringLiteralsExtended The String "bean2" appears 2 times in the file. 645
 Warning extension MultipleStringLiteralsExtended The String "Already called" appears 2 times in the file. 765
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 770
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 827

spring-framework/spring-orm/src/test/java/org/springframework/orm/jpa/support/SharedEntityManagerFactoryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77

spring-framework/spring-orm/src/test/java/org/springframework/test/AbstractDependencyInjectionSpringContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 233

spring-framework/spring-orm/src/test/java/org/springframework/test/AbstractSingleSpringContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 293
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 319
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 348

spring-framework/spring-orm/src/test/java/org/springframework/test/AbstractSpringContextTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73

spring-framework/spring-orm/src/test/java/org/springframework/test/AbstractTransactionalDataSourceSpringContextTests.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'rowCount' can be moved inside the block at line '111' to restrict runtime creation. 110
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 157
 Warning extension MoveVariableInsideIf Variable 'rowsAffected' can be moved inside the block at line '176' to restrict runtime creation. 175

spring-framework/spring-orm/src/test/java/org/springframework/test/AbstractTransactionalSpringContextTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 110
 Warning extension MultipleStringLiteralsExtended The String "No transaction manager set" appears 2 times in the file. 305
 Warning extension MoveVariableInsideIf Variable 'commit' can be moved inside the block at line '320' to restrict runtime creation. 319
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 324

spring-framework/spring-orm/src/test/java/org/springframework/test/ConditionalTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 67

spring-framework/spring-orm/src/test/java/org/springframework/test/annotation/AbstractAnnotationAwareTransactionalTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Method '" appears 2 times in the file. 112

spring-framework/spring-orm/src/test/java/org/springframework/test/jpa/AbstractJpaTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 115
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 157
 Warning extension MoveVariableInsideIf Variable 'combinationOfContextLocationsForThisTestClass' can be moved inside the block at line '190' to restrict runtime creation. 180
 Warning extension MoveVariableInsideIf Variable 'initialClassLoader' can be moved inside the block at line '190' to restrict runtime creation. 183
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 255
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 261
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 273
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 312
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 356

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/castor/CastorMarshaller.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 174
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 329

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/config/Jaxb2MarshallerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "contextPath" appears 2 times in the file. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/jaxb/ClassPathJaxb2TypeScanner.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 134
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 189
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 316
 Warning extension ReturnCountExtended Return count for 'createJaxbContextFromContextPath' method is 4 (max allowed is 1). 470
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 472
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 552
 Warning extension ReturnCountExtended Return count for 'supports' method is 2 (max allowed is 1). 557
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 569
 Warning extension ReturnCountExtended Return count for 'unmarshal' method is 3 (max allowed is 1). 739
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 765
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 772
 Warning extension ReturnCountExtended Return count for 'processSource' method is 2 (max allowed is 1). 782
 Warning extension MultipleStringLiteralsExtended The String "@" appears 2 times in the file. 911
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 914
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1030

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/jibx/JibxMarshaller.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Configured for target class [" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "] using binding [" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "JiBX marshalling exception" appears 3 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "JiBX unmarshalling exception" appears 3 times in the file. 362

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/support/AbstractMarshaller.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'unmarshalStreamSource' method is 4 (max allowed is 1). 405
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 554

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/support/MarshallingSource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'marshaller' must not be null" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "'content' must not be null" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/properties/lexical-handler" appears 2 times in the file. 183

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/xmlbeans/XmlBeansMarshaller.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 128
 Warning extension LogicConditionNeedOptimization Condition with && at line 279 position 21 need optimization. All method calls are advised to move to end of logic expression. 279
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 285
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 349
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 355
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 361
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 367
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 373
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 395
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 423
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 429
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 435
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 441
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 447
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 453
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 459

spring-framework/spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 429
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 435
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 436
 Warning extension MoveVariableInsideIf Variable 'alias' can be moved inside the block at line '489' to restrict runtime creation. 486
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 573
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 717
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 724
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 816

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/AbstractMarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://samples.springframework.org/flight" appears 8 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "tns:flights" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "http://www.w3.org/2000/xmlns/" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "xmlns:tns" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "tns:flight" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "tns:number" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Marshaller writes invalid DOMResult" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Marshaller writes invalid StreamResult" appears 6 times in the file. 120

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/AbstractUnmarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://samples.springframework.org/flight" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Invalid element" appears 2 times in the file. 148

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/castor/CastorMarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "<objects><castor-object xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String " xmlns:java=\"http://java.sun.com\"" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String " xsi:type=\"java:org.springframework.oxm.castor.CastorObject\">" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "<name>test</name><value>8</value></castor-object></objects>" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "tns" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "http://samples.springframework.org/flight" appears 8 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "flights" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "tns:flights" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "flight" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "tns:flight" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "number" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "tns:number" appears 2 times in the file. 142
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 143
 Warning extension MultipleStringLiteralsExtended The String "Marshaller wrote invalid result" appears 11 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "objects" appears 4 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "flights.xsd" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "The xsi:noNamespaceSchemaLocation hasn't been written or has invalid value." appears 2 times in the file. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/castor/CastorUnmarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<tns:flights xmlns:tns=\"http://samples.springframework.org/flight\">" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Invalid items" appears 4 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 111
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 139
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 146
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 154
 Warning extension MultipleStringLiteralsExtended The String "Result Flights is different object." appears 3 times in the file. 166
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 172
 Warning extension MultipleStringLiteralsExtended The String "Result Flights has incorrect number of Flight." appears 2 times in the file. 178
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 183
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 186
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/external-general-entities" appears 4 times in the file. 212
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/config/OxmNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "option not set" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "SAVE_PRETTY_PRINT" appears 2 times in the file. 51

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://samples.springframework.org/flight" appears 7 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "flights" appears 4 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "flight" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "number" appears 4 times in the file. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 136
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 142
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 149
 Warning extension MultipleStringLiteralsExtended The String "Jaxb2Marshaller does not support JAXBElement<FlightsType>" appears 2 times in the file. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension MultipleStringLiteralsExtended The String "Jaxb2Marshaller supports class not in context path" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "Jaxb2Marshaller supports type not in context path" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "Jaxb2Marshaller supports JAXBElement not in context path" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "Jaxb2Marshaller does not support JAXBElement<" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String ">" appears 2 times in the file. 218
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 299
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/external-general-entities" appears 4 times in the file. 330

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2UnmarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bytes property not set" appears 2 times in the file. 91

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jaxb/Primitives.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jaxb/StandardClasses.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "spring-ws.png" appears 2 times in the file. 108

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jibx/Flights.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 75

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/xmlbeans/XmlBeansMarshallerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/xmlbeans/XmlBeansUnmarshallerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid element" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "http://samples.springframework.org/flight" appears 2 times in the file. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/xstream/Flights.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 8
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 10

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension MultipleStringLiteralsExtended The String "flight" appears 10 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "flightNumber" appears 10 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "42" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Marshaller writes invalid DOMResult" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "root" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "flights" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "Marshaller writes invalid StreamResult" appears 5 times in the file. 135
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 184
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 185
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 3 times in the file. 191
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 196
 Warning extension MultipleStringLiteralsExtended The String "<flight flightNumber=\"42\" />" appears 4 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "Marshaller does not use attributes" appears 6 times in the file. 200
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 232
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 234
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 246
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 248
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 285

spring-framework/spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamUnmarshallerTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-test/src/main/java/org/springframework/mock/http/client/MockAsyncClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

spring-framework/spring-test/src/main/java/org/springframework/mock/http/client/MockClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 73
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 77

spring-framework/spring-test/src/main/java/org/springframework/mock/http/client/MockClientHttpResponse.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "statisCode is required" appears 2 times in the file. 42

spring-framework/spring-test/src/main/java/org/springframework/mock/jndi/ExpectedLookupTemplate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension OverridableMethodInConstructor Overridable method 'addObject' is called in constructor body. 53

spring-framework/spring-test/src/main/java/org/springframework/mock/jndi/SimpleNamingContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 97
 Warning extension ReturnCountExtended Return count for 'lookup' method is 3 (max allowed is 1). 117
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "SimpleNamingContext does not support [javax.naming.Name]" appears 14 times in the file. 227
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 305
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 311

spring-framework/spring-test/src/main/java/org/springframework/mock/jndi/SimpleNamingContextBuilder.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 123
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125
 Warning extension ReturnCountExtended Return count for 'createInitialContextFactory' method is 2 (max allowed is 1). 194
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 207
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 216

spring-framework/spring-test/src/main/java/org/springframework/mock/web/HeaderValueHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockAsyncContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockFilterConfig.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 93

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 88
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.1" appears 2 times in the file. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 93
 Warning extension MultipleStringLiteralsExtended The String "localhost" appears 2 times in the file. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 264
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 361
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 3 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "Parameter map must not be null" appears 2 times in the file. 420
 Warning extension MultipleStringLiteralsExtended The String "Parameter map key must be of type [" appears 2 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "Parameter map value must be single value " appears 2 times in the file. 433
 Warning extension MultipleStringLiteralsExtended The String " or array of type [" appears 2 times in the file. 433
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 508
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 509
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 519
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 554
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 2 times in the file. 626
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 724
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 895
 Warning extension MultipleStringLiteralsExtended The String "Value for header '" appears 2 times in the file. 904
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 914
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 931
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 966
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1002
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,037 position 66 need optimization. All method calls are advised to move to end of logic expression. 1037
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,038 position 41 need optimization. All method calls are advised to move to end of logic expression. 1038
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1061

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockHttpServletResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension LogicConditionNeedOptimization Condition with && at line 152 position 64 need optimization. All method calls are advised to move to end of logic expression. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 192
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 322
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 347
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 377
 Warning extension MultipleStringLiteralsExtended The String "Cannot set error status - response is already committed" appears 2 times in the file. 432
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 587

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockHttpSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 3 times in the file. 157
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '222' to restrict runtime creation. 219
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 273

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockJspWriter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 65

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockMultipartFile.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockMultipartHttpServletRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockPageContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 124
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 6 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "Invalid scope: " appears 4 times in the file. 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 188
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 273
 Warning extension MultipleStringLiteralsExtended The String "Page exception" appears 2 times in the file. 369

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockRequestDispatcher.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Request must not be null" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Response must not be null" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 67

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockServletConfig.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 92

spring-framework/spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension MultipleStringLiteralsExtended The String "MockServletContext" appears 2 times in the file. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 192
 Warning extension OverridableMethodInConstructor Overridable method 'registerNamedDispatcher' is called in constructor body. 200
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 210
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 217
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 295
 Warning extension ReturnCountExtended Return count for 'getResourcePaths' method is 3 (max allowed is 1). 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 300
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 306
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 308
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 320
 Warning extension MultipleStringLiteralsExtended The String "RequestDispatcher name must not be null" appears 2 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 3 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 3 times in the file. 502
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 568

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockActionRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 40
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 59

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockActionResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension MultipleStringLiteralsExtended The String "Cannot set render parameters after sendRedirect has been called" appears 3 times in the file. 83

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockBaseURL.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "Parameter key must be null" appears 2 times in the file. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 140
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 150

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockCacheControl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 31

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockClientDataRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockClientDataRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockEventRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockEventRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockMimeResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockMimeResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 180

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockMultipartActionRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortalContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletConfig.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94
 Warning extension MultipleStringLiteralsExtended The String "Locale must not be null" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 121

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 201
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 243

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletPreferences.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "Key must not be null" appears 6 times in the file. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76
 Warning extension MultipleStringLiteralsExtended The String "Preference '" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "' is read-only" appears 2 times in the file. 88

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 219
 Warning extension MultipleStringLiteralsExtended The String "Property key must not be null" appears 3 times in the file. 250
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 251
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 269
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 279
 Warning extension MultipleStringLiteralsExtended The String "Parameter key must be null" appears 2 times in the file. 362
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 393
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 440
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 536
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 552

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletRequestDispatcher.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Request must not be null" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Response must not be null" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "MockPortletRequestDispatcher requires MockMimeResponse" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 70

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 72
 Warning extension MultipleStringLiteralsExtended The String "Property key must not be null" appears 7 times in the file. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 181
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 196

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '151' to restrict runtime creation. 148
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 168

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockPortletURL.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ";" appears 3 times in the file. 109

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockRenderRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 41
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 61

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockRenderResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockResourceRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockResourceRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockResourceRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 58
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockResourceRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 68

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockResourceURL.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ";" appears 2 times in the file. 64

spring-framework/spring-test/src/main/java/org/springframework/mock/web/portlet/MockStateAwareResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockStateAwareResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 58
 Warning extension MultipleStringLiteralsExtended The String "Parameter key must not be null" appears 4 times in the file. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121

spring-framework/spring-test/src/main/java/org/springframework/test/AssertThrows.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 170

spring-framework/spring-test/src/main/java/org/springframework/test/annotation/ProfileValueUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "] for class [" appears 2 times in the file. 83
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95
 Warning extension ReturnCountExtended Return count for 'isTestEnabledInThisEnvironment' method is 2 (max allowed is 1). 187

spring-framework/spring-test/src/main/java/org/springframework/test/annotation/SystemProfileValueSource.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 45

spring-framework/spring-test/src/main/java/org/springframework/test/context/BootstrapUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 86

spring-framework/spring-test/src/main/java/org/springframework/test/context/ContextCache.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MultipleStringLiteralsExtended The String "Key must not be null" appears 5 times in the file. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 185

spring-framework/spring-test/src/main/java/org/springframework/test/context/ContextConfigurationAttributes.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "locations" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "classes" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "inheritLocations" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "initializers" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "inheritInitializers" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "declaringClass must not be null" appears 2 times in the file. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 180
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 303
 Warning extension LogicConditionNeedOptimization Condition with && at line 380 position 55 need optimization. All method calls are advised to move to end of logic expression. 380
 Warning extension LogicConditionNeedOptimization Condition with && at line 382 position 61 need optimization. All method calls are advised to move to end of logic expression. 382

spring-framework/spring-test/src/main/java/org/springframework/test/context/DefaultCacheAwareContextLoaderDelegate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Consider annotating your test class with @ContextConfiguration or @ContextHierarchy." appears 2 times in the file. 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 93

spring-framework/spring-test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 66
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 132
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 147
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 166
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 189
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 203
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 233
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 311

spring-framework/spring-test/src/main/java/org/springframework/test/context/TestContextManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension MultipleStringLiteralsExtended The String "]" appears 10 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "Caught exception while allowing TestExecutionListener [" appears 5 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "testInstance must not be null" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "], method [" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "], exception [" appears 2 times in the file. 288
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 299
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 341

spring-framework/spring-test/src/main/java/org/springframework/test/context/jdbc/MergedSqlConfig.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 84
 Warning extension LogicConditionNeedOptimization Condition with && at line 98 position 27 need optimization. All method calls are advised to move to end of logic expression. 98
 Warning extension LogicConditionNeedOptimization Condition with && at line 98 position 65 need optimization. All method calls are advised to move to end of logic expression. 98
 Warning extension MultipleStringLiteralsExtended The String "dataSource" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "transactionManager" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "transactionMode" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "encoding" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "separator" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "commentPrefix" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "blockCommentStartDelimiter" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "blockCommentEndDelimiter" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "errorMode" appears 2 times in the file. 119

spring-framework/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to execute SQL scripts for test context %s: " appears 4 times in the file. 192
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 250
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 251
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 263
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "method" appears 2 times in the file. 263
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 264
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 289
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 290
 Warning extension MoveVariableInsideIf Variable 'prefixedResourcePath' can be moved inside the block at line '301' to restrict runtime creation. 298

spring-framework/spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'createTestContextManager' is called in constructor body. 115
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 221
 Warning extension ReturnCountExtended Return count for 'methodBlock' method is 2 (max allowed is 1). 252
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 263
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 293
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 317
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 365
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 422

spring-framework/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 70
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 77

spring-framework/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 84
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 92

spring-framework/spring-test/src/main/java/org/springframework/test/context/junit4/statements/SpringRepeat.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 70

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/AbstractContextLoader.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 144
 Warning extension ReturnCountExtended Return count for 'generateDefaultLocations' method is 2 (max allowed is 1). 218
 Warning extension MoveVariableInsideIf Variable 'prefixedResourcePath' can be moved inside the block at line '228' to restrict runtime creation. 225

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/AbstractDelegatingSmartContextLoader.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadContext' method is 2 (max allowed is 1). 246
 Warning extension MultipleStringLiteralsExtended The String "DelegatingSmartContextLoaders do not support the ContextLoader SPI. " appears 2 times in the file. 287

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/AbstractGenericContextLoader.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 141

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/AbstractTestContextBootstrapper.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 230
 Warning extension ReturnCountExtended Return count for 'buildMergedContextConfiguration' method is 3 (max allowed is 1). 267
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 287
 Warning extension MultipleStringLiteralsExtended The String "ContextConfigurationAttributes list must not be empty" appears 3 times in the file. 293
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 338
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 339

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/AbstractTestExecutionListener.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 40
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 49
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 58
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 67
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 76

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/ActiveProfilesUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/AnnotationConfigContextLoaderUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 112

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/ApplicationContextInitializerUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/ContextLoaderUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Class must not be null" appears 2 times in the file. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 249
 Warning extension MultipleStringLiteralsExtended The String "Resolved context configuration attributes: " appears 2 times in the file. 282

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/DefaultActiveProfilesResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/DelegatingSmartContextLoader.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 57

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/DependencyInjectionTestExecutionListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 81

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/DirtiesContextTestExecutionListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The test class of the supplied TestContext must not be null" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "hierarchyMode" appears 3 times in the file. 92

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/TestPropertySourceAttributes.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "locations" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "inheritLocations" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "inheritProperties" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "declaringClass must not be null" appears 2 times in the file. 77
 Warning extension MoveVariableInsideIf Variable 'prefixedResourcePath' can be moved inside the block at line '193' to restrict runtime creation. 190

spring-framework/spring-test/src/main/java/org/springframework/test/context/support/TestPropertySourceUtils.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141
 Warning extension MultipleStringLiteralsExtended The String "context must not be null" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "inlinedProperties must not be null" appears 3 times in the file. 209
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 262
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 273
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 274

spring-framework/spring-test/src/main/java/org/springframework/test/context/transaction/TestContextTransactionUtils.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension ReturnCountExtended Return count for 'retrieveDataSource' method is 4 (max allowed is 1). 87
 Warning extension MultipleStringLiteralsExtended The String "TestContext must not be null" appears 3 times in the file. 88
 Warning extension ReturnCountExtended Return count for 'retrieveTransactionManager' method is 5 (max allowed is 1). 150

spring-framework/spring-test/src/main/java/org/springframework/test/context/transaction/TransactionContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 136

spring-framework/spring-test/src/main/java/org/springframework/test/context/transaction/TransactionContextHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 29

spring-framework/spring-test/src/main/java/org/springframework/test/context/transaction/TransactionalTestExecutionListener.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transactionManager" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "defaultRollback" appears 2 times in the file. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 143
 Warning extension MultipleStringLiteralsExtended The String "The test method of the supplied TestContext must not be null" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "] for test context " appears 4 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "Exception encountered while executing @AfterTransaction method [" appears 2 times in the file. 283
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 286
 Warning extension ReturnCountExtended Return count for 'getTransactionManager' method is 2 (max allowed is 1). 313
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 411
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 432

spring-framework/spring-test/src/main/java/org/springframework/test/context/util/TestContextResourceUtils.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100

spring-framework/spring-test/src/main/java/org/springframework/test/context/web/AbstractGenericWebContextLoader.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 149

spring-framework/spring-test/src/main/java/org/springframework/test/context/web/WebDelegatingSmartContextLoader.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 57

spring-framework/spring-test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "SELECT COUNT(0) FROM " appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String " WHERE " appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "DELETE FROM " appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Deleted " appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " rows from table " appears 2 times in the file. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 131

spring-framework/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 101
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 104
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 107
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 120

spring-framework/spring-test/src/main/java/org/springframework/test/util/MetaAnnotationUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'findAnnotationDescriptor' method is 3 (max allowed is 1). 101
 Warning extension ReturnCountExtended Return count for 'findAnnotationDescriptorForTypes' method is 3 (max allowed is 1). 180
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 318

spring-framework/spring-test/src/main/java/org/springframework/test/util/ReflectionTestUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Target object must not be null" appears 5 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "] on target [" appears 6 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Method name must not be empty" appears 3 times in the file. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 206
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 309

spring-framework/spring-test/src/main/java/org/springframework/test/util/XmlExpectationsHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Body content" appears 2 times in the file. 48

spring-framework/spring-test/src/main/java/org/springframework/test/util/XpathExpectationsHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "XPath " appears 8 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "nodeCount for XPath " appears 2 times in the file. 158

spring-framework/spring-test/src/main/java/org/springframework/test/web/ModelAndViewAssert.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView is null" appears 7 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Model is null" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Model attribute with name '" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "'" appears 5 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Size of model list is '" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "' while size of expected list is '" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "List in model under name '" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "' is not equal to the expected list." appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "' but was '" appears 2 times in the file. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 203

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/MockMvcClientHttpRequestFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'executeInternal' method is 2 (max allowed is 1). 57
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 75

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/RequestMatcherClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension MultipleStringLiteralsExtended The String "RequestMatcher is required" appears 2 times in the file. 45

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Content type not set" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Request content" appears 3 times in the file. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 193
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 194

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/match/JsonPathRequestMatchers.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 129

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/match/MockRestRequestMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Request URI" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "'uri' must not be null" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "Expected header <" appears 2 times in the file. 166

spring-framework/spring-test/src/main/java/org/springframework/test/web/client/match/XpathRequestMatchers.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 194
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 195

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/DefaultMvcResult.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 127

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/MockMvc.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 90

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension MultipleStringLiteralsExtended The String "httpMethod is required" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "No 'Accept' media types" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 2 times in the file. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 4 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 464
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 680
 Warning extension MultipleStringLiteralsExtended The String "'name' must not be empty" appears 2 times in the file. 696

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/request/MockMultipartHttpServletRequestBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/ContentResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Content type not set" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Response content" appears 3 times in the file. 135

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/CookieResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Response cookie not found: " appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Response cookie" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "No cookie with name: " appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Response cookie maxAge" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "Response cookie path" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "Response cookie domain" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "Response cookie comment" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "Response cookie version" appears 2 times in the file. 214

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/FlashAttributeResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Flash attribute" appears 2 times in the file. 52

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/HandlerResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No handler: " appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "HandlerMethod" appears 3 times in the file. 80

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/HeaderResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Response header " appears 3 times in the file. 54

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/MockMvcResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "AntPath expression" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Redirected URL" appears 2 times in the file. 127

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/ModelResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Model attribute '" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "No errors for attribute [" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "]" appears 9 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "No errors for attribute: [" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "No errors for field: [" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "] of attribute [" appears 3 times in the file. 163

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/PrintingResultHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Headers" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension MultipleStringLiteralsExtended The String "Type" appears 5 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Attribute" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 181

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/RequestResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Async started" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Async result" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Request attribute" appears 4 times in the file. 125

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/StatusResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Response status" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Range for response status value " appears 5 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Response status reason" appears 2 times in the file. 148

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/result/ViewResultMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No ModelAndView found" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "View name" appears 2 times in the file. 52

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/setup/AbstractMockMvcBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/setup/PatternMappingFilterProxy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 83

spring-framework/spring-test/src/main/java/org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119
 Warning extension MoveVariableInsideIf Variable 'registration' can be moved inside the block at line '391' to restrict runtime creation. 390
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 421

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockFilterChainTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 53
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 64
 Warning extension MultipleStringLiteralsExtended The String "Expected Exception" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "This FilterChain has already been called!" appears 3 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockHttpServletRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "body" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "test/plain" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 8 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "test/plain;charset=UTF-8" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 5 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 8 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 5 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 5 times in the file. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension MultipleStringLiteralsExtended The String "newValue1" appears 4 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "key3" appears 5 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "value3A" appears 5 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "value3B" appears 5 times in the file. 142
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 158
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 176
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 201
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 206
 Warning extension MultipleStringLiteralsExtended The String "example.com" appears 3 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "test.server" appears 4 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "[2001:db8:0:1]" appears 3 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "2001:db8:0:1" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 279
 Warning extension MultipleStringLiteralsExtended The String "https" appears 4 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "http://localhost" appears 3 times in the file. 313
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension MultipleStringLiteralsExtended The String "http" appears 2 times in the file. 341
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockHttpServletResponseTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/plain" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 12 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "test/plain;charset=UTF-8" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "66" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "Content-Length" appears 3 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "X" appears 5 times in the file. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension MultipleStringLiteralsExtended The String "XY" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "/redirect" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "Location" appears 2 times in the file. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockHttpSessionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 41
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 50
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 59
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 68
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 95
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 104
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 107
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 113
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 122
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 131
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 140

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockMultipartHttpServletRequestTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension MultipleStringLiteralsExtended The String "file1" appears 7 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "file2" appears 7 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension MultipleStringLiteralsExtended The String "myContent1" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "myOrigFilename" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "myContent2" appears 4 times in the file. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockPageContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 32

spring-framework/spring-test/src/test/java/org/springframework/mock/web/MockServletContextTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension MultipleStringLiteralsExtended The String "/web/MockServletContextTests.class" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension MultipleStringLiteralsExtended The String "/second" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 125

spring-framework/spring-test/src/test/java/org/springframework/test/annotation/ProfileValueUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Test class [" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "] should be enabled." appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Test method [" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 281

spring-framework/spring-test/src/test/java/org/springframework/test/context/ClassLevelDirtiesContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ")." appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "after class-level @DirtiesContext with clean test method and AFTER_CLASS mode" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "after class-level @DirtiesContext with dirty test method" appears 3 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "after inherited class-level @DirtiesContext with dirty test method" appears 3 times in the file. 152

spring-framework/spring-test/src/test/java/org/springframework/test/context/ContextCacheTests.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 103
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 103
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 104
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 105
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 106
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 109
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 109
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 110
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 111
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 114
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 114
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 115
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 116
 Warning extension MultipleStringLiteralsExtended The String "level 3, A" appears 6 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "level 3, A and B" appears 6 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "removed level 1" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "removed level 2" appears 4 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "removed level 3-A" appears 2 times in the file. 238

spring-framework/spring-test/src/test/java/org/springframework/test/context/ContextHierarchyDirtiesContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 3 times in the file. 131

spring-framework/spring-test/src/test/java/org/springframework/test/context/MergedContextConfigurationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "bar}" appears 8 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "quux}" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "catbert" appears 16 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "dogbert" appears 14 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "X" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "Y" appears 2 times in the file. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 171
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 176
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 190
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension MultipleStringLiteralsExtended The String "quux" appears 2 times in the file. 226
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 368
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 373
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 387
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 391

spring-framework/spring-test/src/test/java/org/springframework/test/context/SpringRunnerContextCacheTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 54
 Warning extension MultipleStringLiteralsExtended The String ")." appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "The application context should have been autowired." appears 3 times in the file. 110

spring-framework/spring-test/src/test/java/org/springframework/test/context/TestContextManagerTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 54
 Warning extension MultipleStringLiteralsExtended The String "] (" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String ")." appears 4 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143

spring-framework/spring-test/src/test/java/org/springframework/test/context/TestExecutionListenersTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 188

spring-framework/spring-test/src/test/java/org/springframework/test/context/env/InlinedPropertiesTestPropertySourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "x.y.z" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "server.url" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "key.value.1" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "key=value" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "key.value.2" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "key.value.3" appears 2 times in the file. 67

spring-framework/spring-test/src/test/java/org/springframework/test/context/env/SystemPropertyOverridePropertiesFileTestPropertySourceTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48

spring-framework/spring-test/src/test/java/org/springframework/test/context/expression/ExpressionUsageTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Dave" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Andy" appears 4 times in the file. 56

spring-framework/spring-test/src/test/java/org/springframework/test/context/groovy/DefaultScriptDetectionGroovySpringContextTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 49

spring-framework/spring-test/src/test/java/org/springframework/test/context/groovy/GroovySpringContextTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 64

spring-framework/spring-test/src/test/java/org/springframework/test/context/groovy/MixedXmlAndGroovySpringContextTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/meta/MetaHierarchyLevelTwoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Prod Bar" appears 2 times in the file. 45

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/ClassHierarchyWithMergedConfigLevelOneTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "from UserConfig" appears 2 times in the file. 68

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/ClassHierarchyWithOverriddenConfigLevelTwoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from TestUserConfig" appears 2 times in the file. 53

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/DirtiesContextWithContextHierarchyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "baz-child" appears 2 times in the file. 72

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/SingleTestClassWithSingleLevelContextHierarchyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 45

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/SingleTestClassWithTwoLevelContextHierarchyAndMixedConfigTypesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 47

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/SingleTestClassWithTwoLevelContextHierarchyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "baz-child" appears 2 times in the file. 66

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelOneWithBareContextConfigurationInSubclassTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo-level-1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 50

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelOneWithBareContextConfigurationInSuperclassTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo-level-1" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 49

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelOneWithSingleLevelContextHierarchyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo-level-1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 50

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithBareContextConfigurationInSubclassTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo-level-2" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 50

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithBareContextConfigurationInSuperclassTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo-level-2" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 51

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/TestHierarchyLevelTwoWithSingleLevelContextHierarchyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo-level-2" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 51

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/web/ControllerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/web/DispatcherWacRootWacEarTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 52
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 56
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 59
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/web/EarTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ear" appears 2 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61

spring-framework/spring-test/src/test/java/org/springframework/test/context/hierarchies/web/RootWacEarTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "root" appears 2 times in the file. 46
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 63
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/InferredDataSourceSqlScriptsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Dilbert" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/schema.sql" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/data.sql" appears 2 times in the file. 102

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/InferredDataSourceTransactionalSqlScriptsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Dilbert" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/schema.sql" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/data.sql" appears 2 times in the file. 105

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/MergedSqlConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dataSource" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "transactionManager" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "transactionMode" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "encoding" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "separator" appears 4 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "commentPrefix" appears 4 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "blockCommentStartDelimiter" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "blockCommentEndDelimiter" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "errorMode" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "globalConfigMethod" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 76

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/MultipleDataSourcesAndTransactionManagersSqlScriptsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Dilbert" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/schema.sql" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/data.sql" appears 2 times in the file. 101

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/MultipleDataSourcesAndTransactionManagersTransactionalSqlScriptsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Dilbert" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/schema.sql" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/data.sql" appears 2 times in the file. 102

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String ".sql" appears 2 times in the file. 50

spring-framework/spring-test/src/test/java/org/springframework/test/context/jdbc/TransactionalAfterTestMethodSqlScriptsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 59

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/BeforeAndAfterTransactionAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Adding yoda" appears 2 times in the file. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 97
 Warning extension MultipleStringLiteralsExtended The String "Adding jane" appears 2 times in the file. 105

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/ClassLevelDisabledSpringRunnerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "A listener method for a disabled test should never be executed!" appears 5 times in the file. 48

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/ConcreteTransactionalJUnit4SpringContextTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 76
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 80
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 195
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 210

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/EnabledAndIgnoredSpringRunnerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 94

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/ExpectedExceptionSpringRunnerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 67

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/FailingBeforeAndAfterMethodsTestNGTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 110

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/HardCodedProfileValueSourceSpringRunnerTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 54

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/ParameterizedDependencyInjectionTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/RepeatedSpringRunnerTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 84
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 96

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunnerAppCtxTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 107
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 110
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 125
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 129
 Warning extension MultipleStringLiteralsExtended The String "Quux" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "Fido" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 2 times in the file. 216

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunnerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 39
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 78
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 83

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/StandardJUnit4FeaturesTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/TimedSpringRunnerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 58
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 75
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 82
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 116

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/aci/annotation/MergedInitializersAnnotationConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 41

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/aci/annotation/MultipleInitializersAnnotationConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 44
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 50

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/aci/annotation/OrderedInitializersAnnotationConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 62

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/aci/annotation/PropertySourcesInitializerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 76

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/aci/annotation/SingleInitializerAnnotationConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 56

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/aci/xml/MultipleInitializersXmlConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 43
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 49

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/BeanOverridingDefaultConfigClassesInheritedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Yoda" appears 2 times in the file. 47

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/DefaultConfigClassesBaseTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "John Smith" appears 2 times in the file. 52

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/DefaultConfigClassesInheritedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Fido" appears 2 times in the file. 47

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/DefaultLoaderBeanOverridingDefaultConfigClassesInheritedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Yoda" appears 2 times in the file. 47

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/DefaultLoaderDefaultConfigClassesBaseTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "John Smith" appears 2 times in the file. 51

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/DefaultLoaderDefaultConfigClassesInheritedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Fido" appears 2 times in the file. 46

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/meta/ConfigClassesAndProfileResolverWithCustomDefaultsMetaConfigWithOverridesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Local Dev Foo" appears 2 times in the file. 48

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/meta/ConfigClassesAndProfilesMetaConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Local Dev Foo" appears 2 times in the file. 48

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/annotation/meta/ConfigClassesAndProfilesWithCustomDefaultsMetaConfigWithOverridesTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/hybrid/HybridContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Java" appears 2 times in the file. 49

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/orm/HibernateSessionFlushingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should be able to find Sam" appears 2 times in the file. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 89
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 109

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/profile/resolver/ClassNameActiveProfilesResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/AbstractTransactionalAnnotatedConfigClassTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 126

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/AnnotatedConfigClassesWithoutAtConfigurationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96

spring-framework/spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/AtBeanLiteModeScopeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "singleton" appears 2 times in the file. 50
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "prototype" appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/ActiveProfilesUtilsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 14 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "dog" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "cat" appears 2 times in the file. 99
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 193
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 201
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 209
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 231
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 349
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 361
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 378

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/AnnotationConfigContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 41

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/AnnotationConfigContextLoaderUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 38

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/BootstrapTestUtilsContextInitializerTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/BootstrapTestUtilsMergedConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "classpath:/foo.xml" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/bar.xml" appears 2 times in the file. 147

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/ContextLoaderUtilsConfigurationAttributesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo.xml" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "/bar.xml" appears 2 times in the file. 49
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/ContextLoaderUtilsContextHierarchyTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 52
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 62
 Warning extension MultipleStringLiteralsExtended The String "A.xml" appears 5 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "C.xml" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "one.xml" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "B-one.xml" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "B-two.xml" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "1-A.xml" appears 5 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "1-B.xml" appears 5 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "2-A.xml" appears 4 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "2-B.xml" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "3-A.xml" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "3-B.xml" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "3-C.xml" appears 3 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "alpha" appears 4 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "beta" appears 4 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "gamma" appears 2 times in the file. 227
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 541

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/DelegatingSmartContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "Neither" appears 3 times in the file. 61
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 120
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 178
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 183

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/DirtiesContextTestExecutionListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "clean" appears 5 times in the file. 68
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 171
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 199
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 216
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 224
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 232
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 240
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 248

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/GenericPropertiesContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/GenericXmlContextLoaderResourceLocationsTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 55
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/support/context1.xml" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "file:/testing/directory/context.xml" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/context.xml" appears 2 times in the file. 111

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/GenericXmlContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 38

spring-framework/spring-test/src/test/java/org/springframework/test/context/support/TestPropertySourceUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key = value" appears 2 times in the file. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48
 Warning extension MultipleStringLiteralsExtended The String "Could not detect default properties file for test" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "classpath:/foo1.xml" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "classpath:/foo2.xml" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "k1a=v1a" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "k1b: v1b" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "classpath:/baz.properties" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "inlined" appears 3 times in the file. 141

spring-framework/spring-test/src/test/java/org/springframework/test/context/testng/AnnotationConfigTransactionalTestNGSpringContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "John Smith" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Fido" appears 2 times in the file. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 134
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 151

spring-framework/spring-test/src/test/java/org/springframework/test/context/testng/ConcreteTransactionalTestNGSpringContextTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 79
 Warning extension MultipleStringLiteralsExtended The String "John Smith" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "employee's name." appears 2 times in the file. 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 221

spring-framework/spring-test/src/test/java/org/springframework/test/context/testng/transaction/programmatic/ProgrammaticTxMgmtTestNGTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "user" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Dogbert" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Dilbert" appears 12 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/data-add-dogbert.sql" appears 4 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242

spring-framework/spring-test/src/test/java/org/springframework/test/context/testng/web/TestNGSpringContextWebTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 2 times in the file. 56

spring-framework/spring-test/src/test/java/org/springframework/test/context/transaction/TransactionalTestExecutionListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transactionalTest" appears 2 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension MultipleStringLiteralsExtended The String "nonTransactionalTest" appears 2 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "metaTxMgr" appears 2 times in the file. 221
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 302
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 315
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 319
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 332
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 345
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 349
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 362
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 375
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 379
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 392
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 396
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 409
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 413
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 426
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 430
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 443
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 447

spring-framework/spring-test/src/test/java/org/springframework/test/context/transaction/programmatic/ProgrammaticTxMgmtTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "user" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Dogbert" appears 6 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Dilbert" appears 12 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 96
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 102
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 108
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 114
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 120
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension MultipleStringLiteralsExtended The String "classpath:/org/springframework/test/context/jdbc/data-add-dogbert.sql" appears 4 times in the file. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237

spring-framework/spring-test/src/test/java/org/springframework/test/context/web/AnnotationConfigWebContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 36

spring-framework/spring-test/src/test/java/org/springframework/test/context/web/BasicAnnotationConfigWacTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 2 times in the file. 40

spring-framework/spring-test/src/test/java/org/springframework/test/context/web/GenericXmlWebContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 35

spring-framework/spring-test/src/test/java/org/springframework/test/context/web/JUnit4SpringContextWebTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 2 times in the file. 55

spring-framework/spring-test/src/test/java/org/springframework/test/context/web/ServletTestExecutionListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "request attributes should exist" appears 2 times in the file. 63

spring-framework/spring-test/src/test/java/org/springframework/test/jdbc/JdbcTestUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Bob" appears 2 times in the file. 60

spring-framework/spring-test/src/test/java/org/springframework/test/util/MetaAnnotationUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "rootDeclaringClass" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "declaringClass" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "annotationType" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "component name" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "composedAnnotation should not be null" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "composedAnnotationType" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "meta1" appears 4 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "meta2" appears 8 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "Should not find @Component on InheritedAnnotationClass" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "Should not find @Component on MetaCycleAnnotatedClass" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "classes" appears 2 times in the file. 299

spring-framework/spring-test/src/test/java/org/springframework/test/util/OverriddenMetaAnnotationAttributesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo.xml" appears 5 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118

spring-framework/spring-test/src/test/java/org/springframework/test/util/ReflectionTestUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Tom" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "age" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "eyeColor" appears 6 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 6 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "likesPets" appears 7 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "favoriteNumber" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "name (protected field)" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "eye color (package private field)" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "'favorite number' (package field)" appears 2 times in the file. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension MultipleStringLiteralsExtended The String "Jerry" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "green" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "ID (protected method in a superclass)" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "name (private method)" appears 3 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "age (protected method)" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "eye color (package private method)" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "'likes pets' flag (protected method for a boolean)" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "'favorite number' (protected method for a Number)" appears 3 times in the file. 118
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 163
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 168
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 173
 Warning extension MultipleStringLiteralsExtended The String "subtract" appears 2 times in the file. 181
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 186
 Warning extension MultipleStringLiteralsExtended The String "add" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "add(1,2,3,4)" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "number" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "configure" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "enigma" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "init" appears 2 times in the file. 211
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 220
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 225
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 230
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 235

spring-framework/spring-test/src/test/java/org/springframework/test/web/Person.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/MockClientHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 4 times in the file. 54
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 65
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 94

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/match/ContentRequestMatchersTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 55
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 64
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 69
 Warning extension MultipleStringLiteralsExtended The String "Test" appears 2 times in the file. 73
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 99
 Warning extension MultipleStringLiteralsExtended The String "<foo><bar>baz</bar></foo>" appears 2 times in the file. 108
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 114

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/match/JsonPathRequestMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "$.foo" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 50
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 68
 Warning extension MultipleStringLiteralsExtended The String "$.bogus" appears 2 times in the file. 70
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 88

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/match/RequestMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://foo.com/bar" appears 4 times in the file. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 12 times in the file. 62
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 15 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 9 times in the file. 81
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 91
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 107
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 113
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 127
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 132

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/match/XpathRequestMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 6 times in the file. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension MultipleStringLiteralsExtended The String "/foo/Bar" appears 2 times in the file. 60
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar[1]" appears 4 times in the file. 85
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 88
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar[2]" appears 2 times in the file. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 108

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/response/ResponseCreatorsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/MockMvcClientHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 72

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/SampleAsyncTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{\"name\" : \"Ludwig van Beethoven\", \"someDouble\" : \"1.6035\"}" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/composers/42" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/composers/{id}" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/number" appears 6 times in the file. 112
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 131

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/SampleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/composers/42" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/composers/{id}" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/number" appears 6 times in the file. 91
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 110

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/matchers/ContentRequestMatcherTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension MultipleStringLiteralsExtended The String "application/json;charset=UTF-8" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 5 times in the file. 67
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 74
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 75

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/matchers/HeaderRequestMatcherTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "/person/1" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 2 times in the file. 66

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/matchers/JsonPathRequestMatcherTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "composers" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Johann Sebastian Bach" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Johannes Brahms" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "performers" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Yehudi Menuhin" appears 3 times in the file. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension MultipleStringLiteralsExtended The String "/composers" appears 10 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "application/json;charset=UTF-8" appears 5 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "$.composers[0].name" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "$.performers[1].name" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "Johann" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "Ashkenazy" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "di Me" appears 2 times in the file. 120

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/matchers/XmlContentRequestMatcherTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension MultipleStringLiteralsExtended The String "/composers" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 90

spring-framework/spring-test/src/test/java/org/springframework/test/web/client/samples/matchers/XpathRequestMatcherTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Johann Sebastian Bach" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Johannes Brahms" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Edvard Grieg" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Robert Schumann" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Vladimir Ashkenazy" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "Yehudi Menuhin" appears 2 times in the file. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/composers/composer[%s]" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/performers/performer[%s]" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "/composers" appears 12 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 6 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/composers/composer" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/performers/performer" appears 2 times in the file. 187

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/DefaultMvcResultTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 2 times in the file. 42
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 6 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "/travel/hotels/42" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "/travel" appears 6 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "/hotels/42" appears 4 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "/main" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "/index.html" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 23 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 21 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 12 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "bar=baz" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "text/html" appears 7 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 5 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "qux" appears 4 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "nl" appears 2 times in the file. 359
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 395

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/request/MockMultipartHttpServletRequestBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 35

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/ContentResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 42
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 55
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 3 times in the file. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 66
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 92

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/FlashAttributeResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "good" appears 6 times in the file. 31
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 44

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/JsonPathResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "$.foo" appears 6 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 34
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 37
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 39
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 57
 Warning extension MultipleStringLiteralsExtended The String "$.bogus" appears 2 times in the file. 59
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 83

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/MockMvcResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/resource/1" appears 4 times in the file. 30
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension MultipleStringLiteralsExtended The String "/api/resource/1" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "/api/resource/1?arg=value" appears 2 times in the file. 54

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/ModelResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "view" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "good" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "date" appears 12 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "time" appears 8 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "error" appears 2 times in the file. 57
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 71
 Warning extension MultipleStringLiteralsExtended The String "bad" appears 4 times in the file. 73
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 91
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 101
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 111
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 121
 Warning extension MultipleStringLiteralsExtended The String "missing" appears 2 times in the file. 123
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 126
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 136
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 141
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 146
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 156
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 166

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/PrintingResultHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "paramValue" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "header" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "headerValue" appears 4 times in the file. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension MultipleStringLiteralsExtended The String "MockHttpServletRequest" appears 4 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Headers" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "/redirectFoo" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "MockHttpServletResponse" appears 7 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Handler" appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Type" appears 6 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Resolved Exception" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView" appears 8 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "View name" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "View" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "attrName" appears 5 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "attrValue" appears 4 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "Attribute" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "FlashMap" appears 3 times in the file. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 229

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/StatusResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 66
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 69
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/result/XpathResultMatchersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 6 times in the file. 33
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 36
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46
 Warning extension MultipleStringLiteralsExtended The String "/foo/Bar" appears 2 times in the file. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 56
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 66
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar[1]" appears 4 times in the file. 73
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar[2]" appears 2 times in the file. 93
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 102

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/context/JavaConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 91

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/spr/EncodedUriTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "receivedId" appears 2 times in the file. 80

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/spr/RequestContextHolderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 72

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/AsyncTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/1" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "true" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Joe" appears 8 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "{\"name\":\"Joe\",\"someDouble\":0.0,\"someBoolean\":false}" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "deferredResult" appears 2 times in the file. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 176

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/ExceptionHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "errorView" appears 2 times in the file. 43

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/FileUploadControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "message" appears 2 times in the file. 45

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/FilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/persons" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Andy" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/person/1" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "message" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "success!" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "/login" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/p" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "principal" appears 2 times in the file. 104

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/FrameworkExtensionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "a=b" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 3 times in the file. 70

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/RedirectTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/persons" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "/persons/Joe" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "message" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "success!" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "persons/add" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "persons/index" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Joe" appears 2 times in the file. 79

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/ViewResolutionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/person/Corea" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "person" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "$.person.name" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Corea" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "/person/name/text()" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension MultipleStringLiteralsExtended The String "person/show" appears 3 times in the file. 119

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/ContentAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "/handle" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/handleUtf8" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "text/plain;charset=UTF-8" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Hello world!" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "\u3053\u3093\u306b\u3061\u306f\u4e16\u754c\uff01" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "ISO-8859-1" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "world" appears 2 times in the file. 96

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/CookieAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "domain" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "/" appears 12 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "en_US" appears 3 times in the file. 53

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/FlashAttributeAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/persons" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "one" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "two" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "three" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 3 times in the file. 64

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/HandlerAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 3 times in the file. 57

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/HeaderAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/persons/1" appears 9 times in the file. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 124
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 184

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/JsonPathAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/music/people" appears 6 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Johann Sebastian Bach" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Johannes Brahms" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Edvard Grieg" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Robert Schumann" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Vladimir Ashkenazy" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Yehudi Menuhin" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "$.composers[0].name" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "$.performers[1].name" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Johann" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Ashkenazy" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "di Me" appears 2 times in the file. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension MultipleStringLiteralsExtended The String "composers" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "performers" appears 2 times in the file. 135

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/ModelAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a string value" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "a name" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "person" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "view" appears 2 times in the file. 107

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/RequestAttributeAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{id}" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/1" appears 3 times in the file. 51

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/SessionAttributeAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "locale" appears 4 times in the file. 57

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/StatusAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/created" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/badRequest" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Expired token" appears 2 times in the file. 67

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/UrlAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/persons" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 56

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/ViewNameAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "mySpecialView" appears 3 times in the file. 50

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/XmlContentAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application/xml;charset=UTF-8" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/music/people" appears 2 times in the file. 75

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/XpathAssertionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application/xml;charset=UTF-8" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/composers/composer[%s]" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/performers/performer[%s]" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "/music/people" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Johann Sebastian Bach" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Johannes Brahms" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Edvard Grieg" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "Robert Schumann" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Vladimir Ashkenazy" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Yehudi Menuhin" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/composers/composer" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "/ns:people/performers/performer" appears 2 times in the file. 146

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/setup/ConditionalDelegatingFilterProxyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "/test/this" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "/*" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "/test/*" appears 8 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "*.html" appears 8 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar/*" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "/baz/*" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "/catalog" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "*.bop" appears 2 times in the file. 215

spring-framework/spring-test/src/test/java/org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sys.login.ajax" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 3 times in the file. 53
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 87
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 93

spring-framework/spring-tx/src/main/java/org/springframework/dao/IncorrectResultSizeDataAccessException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Incorrect result size: expected " appears 2 times in the file. 41

spring-framework/spring-tx/src/main/java/org/springframework/dao/support/ChainedPersistenceExceptionTranslator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

spring-framework/spring-tx/src/main/java/org/springframework/dao/support/DaoSupport.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 50

spring-framework/spring-tx/src/main/java/org/springframework/dao/support/DataAccessUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 147
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/connection/CciLocalTransactionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setConnectionFactory' is called in constructor body. 83
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 138
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 170
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 199

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/connection/ConnectionFactoryUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No ConnectionFactory specified" appears 2 times in the file. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 153
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/connection/NotSupportedRecordFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The RecordFactory facility is not supported by the connector" appears 2 times in the file. 46

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/connection/SingleConnectionFactory.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'getCloseSuppressingConnectionProxy' is called in constructor body. 83
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 235
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 249

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/connection/TransactionAwareConnectionFactoryProxy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invoke' method is 2 (max allowed is 1). 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 136
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 159

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/core/CciTemplate.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setConnectionFactory' is called in constructor body. 95
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 96
 Warning extension OverridableMethodInConstructor Overridable method 'setConnectionFactory' is called in constructor body. 107
 Warning extension OverridableMethodInConstructor Overridable method 'setConnectionSpec' is called in constructor body. 108
 Warning extension OverridableMethodInConstructor Overridable method 'afterPropertiesSet' is called in constructor body. 109
 Warning extension MultipleStringLiteralsExtended The String "Callback object must not be null" appears 2 times in the file. 192
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 290
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 402
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 423

spring-framework/spring-tx/src/main/java/org/springframework/jca/cci/object/MappingCommAreaOperation.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "I/O exception during bytes conversion" appears 2 times in the file. 62

spring-framework/spring-tx/src/main/java/org/springframework/jca/context/SpringContextResourceAdapter.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 234
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 240

spring-framework/spring-tx/src/main/java/org/springframework/jca/endpoint/AbstractMessageEndpointFactory.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 137
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 149
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 220
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 270
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 281

spring-framework/spring-tx/src/main/java/org/springframework/jca/support/LocalConnectionFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 133

spring-framework/spring-tx/src/main/java/org/springframework/jca/support/ResourceAdapterFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135

spring-framework/spring-tx/src/main/java/org/springframework/jca/work/SimpleTaskWorkManager.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No 'asyncTaskExecutor' set" appears 2 times in the file. 113
 Warning extension ReturnCountExtended Return count for 'executeWork' method is 2 (max allowed is 1). 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 155
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 198
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 218
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 220

spring-framework/spring-tx/src/main/java/org/springframework/jca/work/WorkManagerTaskExecutor.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setWorkManager' is called in constructor body. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 244
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 251
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 258
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 265

spring-framework/spring-tx/src/main/java/org/springframework/jca/work/glassfish/GlassFishWorkManagerTaskExecutor.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 53

spring-framework/spring-tx/src/main/java/org/springframework/jca/work/jboss/JBossWorkManagerUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 73

spring-framework/spring-tx/src/main/java/org/springframework/transaction/HeuristicCompletionException.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64

spring-framework/spring-tx/src/main/java/org/springframework/transaction/TransactionSystemException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 82

spring-framework/spring-tx/src/main/java/org/springframework/transaction/annotation/AnnotationTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension MultipleStringLiteralsExtended The String "At least one TransactionAnnotationParser needs to be specified" appears 2 times in the file. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension LogicConditionNeedOptimization Condition with && at line 180 position 68 need optimization. All method calls are advised to move to end of logic expression. 180

spring-framework/spring-tx/src/main/java/org/springframework/transaction/annotation/Ejb3TransactionAnnotationParser.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

spring-framework/spring-tx/src/main/java/org/springframework/transaction/annotation/JtaTransactionAnnotationParser.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

spring-framework/spring-tx/src/main/java/org/springframework/transaction/annotation/SpringTransactionAnnotationParser.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 91

spring-framework/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurationSelector.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 51

spring-framework/spring-tx/src/main/java/org/springframework/transaction/config/AnnotationDrivenBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'txAspectClassName' can be moved inside the block at line '92' to restrict runtime creation. 91
 Warning extension MultipleStringLiteralsExtended The String "transactionAttributeSource" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "order" appears 3 times in the file. 140

spring-framework/spring-tx/src/main/java/org/springframework/transaction/config/JtaTransactionManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-tx/src/main/java/org/springframework/transaction/config/TxAdviceBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transactionAttributeSource" appears 2 times in the file. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130

spring-framework/spring-tx/src/main/java/org/springframework/transaction/config/TxNamespaceHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 48

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/AbstractFallbackTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension ReturnCountExtended Return count for 'getTransactionAttribute' method is 3 (max allowed is 1). 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 107
 Warning extension ReturnCountExtended Return count for 'computeTransactionAttribute' method is 5 (max allowed is 1). 134
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 224

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/CompositeTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DefaultTransactionAttribute' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 97

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/DelegatingTransactionAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/MatchAlwaysTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/MethodMapTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 156
 Warning extension LogicConditionNeedOptimization Condition with && at line 165 position 32 need optimization. All method calls are advised to move to end of logic expression. 165
 Warning extension MultipleStringLiteralsExtended The String "]: current name '" appears 2 times in the file. 166

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/NameMatchTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/RollbackRuleAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttribute.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'RuleBasedTransactionAttribute' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 67
 Warning extension ReturnCountExtended Return count for 'rollbackOn' method is 2 (max allowed is 1). 129
 Warning extension MoveVariableInsideIf Variable 'deepest' can be moved inside the block at line '137' to restrict runtime creation. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 166

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 128
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 137
 Warning extension LogicConditionNeedOptimization Condition with && at line 244 position 38 need optimization. All method calls are advised to move to end of logic expression. 244
 Warning extension ReturnCountExtended Return count for 'invokeWithinTransaction' method is 2 (max allowed is 1). 266
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 306
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 336
 Warning extension ReturnCountExtended Return count for 'determineTransactionManager' method is 3 (max allowed is 1). 351
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "Completing transaction for [" appears 2 times in the file. 519
 Warning extension MultipleStringLiteralsExtended The String "Application exception overridden by rollback exception" appears 2 times in the file. 542
 Warning extension MultipleStringLiteralsExtended The String "Application exception overridden by commit exception" appears 2 times in the file. 562
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 642

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAttributeEditor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 62

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAttributeSourceAdvisor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 46
 Warning extension OverridableMethodInConstructor Overridable method 'setTransactionInterceptor' is called in constructor body. 62

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAttributeSourcePointcut.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 38

spring-framework/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 93

spring-framework/spring-tx/src/main/java/org/springframework/transaction/jta/JtaTransactionManager.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 120
 Warning extension MultipleStringLiteralsExtended The String "UserTransaction must not be null" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "TransactionManager must not be null" appears 2 times in the file. 207
 Warning extension OverridableMethodInConstructor Overridable method 'buildUserTransaction' is called in constructor body. 220
 Warning extension MultipleStringLiteralsExtended The String "]" appears 12 times in the file. 569
 Warning extension ReturnCountExtended Return count for 'findTransactionManager' method is 2 (max allowed is 1). 696
 Warning extension ReturnCountExtended Return count for 'findTransactionSynchronizationRegistry' method is 4 (max allowed is 1). 735
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 807
 Warning extension MultipleStringLiteralsExtended The String "JTA implementation does not support nested transactions" appears 2 times in the file. 837
 Warning extension MultipleStringLiteralsExtended The String "JtaTransactionManager needs a JTA TransactionManager for suspending a transaction: " appears 2 times in the file. 942
 Warning extension MultipleStringLiteralsExtended The String "specify the 'transactionManager' or 'transactionManagerName' property" appears 2 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "Unexpected internal transaction state" appears 4 times in the file. 958
 Warning extension MultipleStringLiteralsExtended The String "JTA transaction already completed - probably rolled back" appears 2 times in the file. 1005
 Warning extension MultipleStringLiteralsExtended The String "Rollback failure with transaction already marked as rolled back: " appears 2 times in the file. 1016
 Warning extension MultipleStringLiteralsExtended The String "JTA transaction already rolled back (probably due to a timeout)" appears 2 times in the file. 1019
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1101
 Warning extension MultipleStringLiteralsExtended The String "cannot register Spring after-completion callbacks with outer JTA transaction - " appears 2 times in the file. 1105
 Warning extension MultipleStringLiteralsExtended The String "Original exception: " appears 2 times in the file. 1107

spring-framework/spring-tx/src/main/java/org/springframework/transaction/jta/JtaTransactionObject.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 70

spring-framework/spring-tx/src/main/java/org/springframework/transaction/jta/SpringJtaSynchronizationAdapter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "weblogic." appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "relying on JTA provider to mark the transaction as rollback-only based on " appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "the exception thrown from beforeCompletion" appears 2 times in the file. 151
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 153

spring-framework/spring-tx/src/main/java/org/springframework/transaction/jta/WebLogicJtaTransactionManager.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 117
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 135
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 138
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 153
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 156
 Warning extension MultipleStringLiteralsExtended The String "Could not initialize WebLogicJtaTransactionManager because WebLogic API classes are not available" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "begin" appears 2 times in the file. 169
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 193
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 211
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 218
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 226
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 229
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 247
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 254
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 257
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 284
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 293
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 296
 Warning extension ReturnCountExtended Return count for 'createTransaction' method is 2 (max allowed is 1). 304
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 316
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 319
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 322
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 325
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 329

spring-framework/spring-tx/src/main/java/org/springframework/transaction/jta/WebSphereUowTransactionManager.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 251
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 255
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 258
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 269
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 272
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 280
 Warning extension MultipleStringLiteralsExtended The String ", join=" appears 2 times in the file. 286
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 288
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 289
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 344
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 350

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/AbstractPlatformTransactionManager.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 113
 Warning extension ReturnCountExtended Return count for 'getTransaction' method is 3 (max allowed is 1). 336
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 370
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 388
 Warning extension ReturnCountExtended Return count for 'handleExistingTransaction' method is 5 (max allowed is 1). 396
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 410
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 418
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 422
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 461
 Warning extension MultipleStringLiteralsExtended The String "Participating transaction with definition [" appears 2 times in the file. 479
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 493
 Warning extension ReturnCountExtended Return count for 'suspend' method is 3 (max allowed is 1). 569
 Warning extension MultipleStringLiteralsExtended The String "Transaction is already completed - do not call commit or rollback more than once per transaction" appears 2 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "Commit exception overridden by rollback exception" appears 2 times in the file. 906
 Warning extension MultipleStringLiteralsExtended The String "Transaction manager [" appears 2 times in the file. 1125
 Warning extension MultipleStringLiteralsExtended The String "] does not support transaction suspension" appears 2 times in the file. 1125

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/AbstractTransactionStatus.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionDefinition.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 228

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionStatus.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108
 Warning extension LogicConditionNeedOptimization Condition with && at line 108 position 27 need optimization. All method calls are advised to move to end of logic expression. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 157
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 192

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/DelegatingTransactionDefinition.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/ResourceHolderSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 165

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/ResourceHolderSynchronization.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/TransactionSynchronizationManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 126
 Warning extension MultipleStringLiteralsExtended The String "] for key [" appears 4 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "] bound to thread [" appears 3 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 260
 Warning extension MultipleStringLiteralsExtended The String "Transaction synchronization is not active" appears 2 times in the file. 291
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 316
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 384
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 450

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/TransactionSynchronizationUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 108
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 170

spring-framework/spring-tx/src/main/java/org/springframework/transaction/support/TransactionTemplate.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension MultipleStringLiteralsExtended The String "Application exception overridden by rollback exception" appears 2 times in the file. 167

spring-framework/spring-tx/src/test/java/org/springframework/dao/annotation/PersistenceExceptionTranslationAdvisorTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 72
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 79
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 96
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 103
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 166

spring-framework/spring-tx/src/test/java/org/springframework/dao/annotation/PersistenceExceptionTranslationInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "peti" appears 2 times in the file. 39

spring-framework/spring-tx/src/test/java/org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "notProxied" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "proxied" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "classProxied" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "classProxiedAndAdvised" appears 2 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "my failure" appears 2 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86

spring-framework/spring-tx/src/test/java/org/springframework/dao/support/ChainedPersistenceExceptionTranslatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "in" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "out" appears 2 times in the file. 41

spring-framework/spring-tx/src/test/java/org/springframework/dao/support/DataAccessUtilsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IncorrectResultSizeDataAccessException" appears 10 times in the file. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 5 times in the file. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 155
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown TypeMismatchDataAccessException" appears 4 times in the file. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 222
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 267

spring-framework/spring-tx/src/test/java/org/springframework/jca/cci/CciLocalTransactionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Has thread connection" appears 2 times in the file. 74
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 110
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 121

spring-framework/spring-tx/src/test/java/org/springframework/jca/cci/CciTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127

spring-framework/spring-tx/src/test/java/org/springframework/jca/support/LocalConnectionFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 35
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43

spring-framework/spring-tx/src/test/java/org/springframework/transaction/JndiJtaTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "java:/TransactionManager" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "java:comp/UserTransaction" appears 3 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "jndi-ut" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "jndi-tm" appears 2 times in the file. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210

spring-framework/spring-tx/src/test/java/org/springframework/transaction/JtaTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "txName" appears 7 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension MultipleStringLiteralsExtended The String "I want a rollback" appears 2 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 2 times in the file. 265
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 270
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 410
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 426
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 473
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 477
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 482
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 498
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 502
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 506
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 519
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 523
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 527
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 544
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 548
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 567
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 571
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 573
 Warning extension MultipleStringLiteralsExtended The String "txName2" appears 2 times in the file. 578
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 582
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 584
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 590
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 593
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 609
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 613
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 614
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 615
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 622
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 628
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 629
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 630
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 633
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 649
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 653
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 656
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 672
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 677
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown TransactionSystemException" appears 6 times in the file. 680
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 685
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 699
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 704
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown CannotCreateTransactionException" appears 2 times in the file. 707
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 712
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 725
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 729
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 732
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 746
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 758
 Warning extension MultipleStringLiteralsExtended The String "system exception" appears 5 times in the file. 784
 Warning extension MultipleStringLiteralsExtended The String "not supported" appears 2 times in the file. 823
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NestedTransactionNotSupportedException" appears 2 times in the file. 835
 Warning extension MultipleStringLiteralsExtended The String "Correct completion status" appears 7 times in the file. 901
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown UnexpectedRollbackException" appears 2 times in the file. 906
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 964
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 967
 Warning extension MultipleStringLiteralsExtended The String "heuristic exception" appears 2 times in the file. 984
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown HeuristicCompletionException" appears 2 times in the file. 1001
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1005
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1036
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1160
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalTransactionStateException" appears 3 times in the file. 1164
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1181
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1205
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1242
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1243
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1245
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1247

spring-framework/spring-tx/src/test/java/org/springframework/transaction/TestTransactionManager.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 41
 Warning extension MultipleStringLiteralsExtended The String "Not the same transaction object" appears 4 times in the file. 62

spring-framework/spring-tx/src/test/java/org/springframework/transaction/TransactionSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Must have transaction" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Should not have thrown NoTransactionException" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Must not be new transaction" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "triggered begin" appears 7 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "triggered commit" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "no rollback" appears 5 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "no rollbackOnly" appears 8 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "no commit" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "triggered rollback" appears 5 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "no begin" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "triggered rollbackOnly" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension MultipleStringLiteralsExtended The String "Some application exception" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Should have propagated RuntimeException" appears 2 times in the file. 175
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 177
 Warning extension MultipleStringLiteralsExtended The String "Correct exception" appears 2 times in the file. 179
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 208
 Warning extension IllegalCatchExtended Catching 'Error' is not allowed. 230
 Warning extension MultipleStringLiteralsExtended The String "TIMEOUT_DEFAULT" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 4 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "Correct propagation behavior set" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "Correct isolation level set" appears 2 times in the file. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289

spring-framework/spring-tx/src/test/java/org/springframework/transaction/TxNamespaceHandlerEventTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48

spring-framework/spring-tx/src/test/java/org/springframework/transaction/TxNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 76

spring-framework/spring-tx/src/test/java/org/springframework/transaction/annotation/AnnotationTransactionAttributeSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "getAge" appears 19 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "getName" appears 7 times in the file. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Exception" appears 2 times in the file. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298

spring-framework/spring-tx/src/test/java/org/springframework/transaction/annotation/AnnotationTransactionInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 287
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 297
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 331
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332

spring-framework/spring-tx/src/test/java/org/springframework/transaction/annotation/AnnotationTransactionNamespaceHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "transactionManager" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Should not have any started transactions" appears 3 times in the file. 66
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 80
 Warning extension MultipleStringLiteralsExtended The String "done" appears 2 times in the file. 98
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 113

spring-framework/spring-tx/src/test/java/org/springframework/transaction/annotation/EnableTransactionManagementTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean is not a proxy" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Stereotype annotation not visible" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 103
 Warning extension MultipleStringLiteralsExtended The String "qualifiedTransactionManager" appears 2 times in the file. 117

spring-framework/spring-tx/src/test/java/org/springframework/transaction/config/AnnotationDrivenTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "annotationDrivenProxyTargetClassTests.xml" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "service" appears 3 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "someName" appears 5 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98

spring-framework/spring-tx/src/test/java/org/springframework/transaction/config/TransactionalService.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 28

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractTransactionAspectTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension MultipleStringLiteralsExtended The String "innerName" appears 2 times in the file. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 411
 Warning extension MultipleStringLiteralsExtended The String "Caught wrong exception" appears 2 times in the file. 413
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 459
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 478
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 530
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 534

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/BeanFactoryTransactionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean is a dynamic proxy" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "testBean is CGLIB advised" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "target" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '<'. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/ImplementsNoInterfaces.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 31

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/MapTransactionAttributeSource.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 31

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/RollbackRuleTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "Cannot construct a RollbackRuleAttribute with a null-Throwable type" appears 2 times in the file. 79

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttributeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension MultipleStringLiteralsExtended The String "Throwable" appears 2 times in the file. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/TransactionAttributeEditorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "IllegalArgumentException" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "IllegalStateException" appears 2 times in the file. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/TransactionAttributeSourceEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 3 times in the file. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension MultipleStringLiteralsExtended The String "equals" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "wait" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "notify" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "notifyAll" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/TransactionAttributeSourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "hashCode" appears 10 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 69
 Warning extension MultipleStringLiteralsExtended The String ".hashCode" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String ".toString" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "toString" appears 4 times in the file. 83
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 89
 Warning extension MultipleStringLiteralsExtended The String "PROPAGATION_REQUIRED" appears 5 times in the file. 94
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 108
 Warning extension MultipleStringLiteralsExtended The String "PROPAGATION_MANDATORY" appears 2 times in the file. 154

spring-framework/spring-tx/src/test/java/org/springframework/transaction/interceptor/TransactionInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "methodName" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "PROPAGATION_REQUIRED" appears 2 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "fooTransactionManager" appears 12 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "defaultTransactionManager" appears 4 times in the file. 179

spring-framework/spring-tx/src/test/java/org/springframework/transaction/jta/MockUOWManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 57
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 67
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 107

spring-framework/spring-tx/src/test/java/org/springframework/transaction/jta/WebSphereUowTransactionManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "result" appears 24 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalTransactionStateException" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 349
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 350
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 351
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 397
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 413
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 434
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 442
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 447
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 448
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 513
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 514
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 520
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 521
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 522
 Warning extension MultipleStringLiteralsExtended The String "result2" appears 6 times in the file. 523
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 526
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 527
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 528
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 536
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 537
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 538
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 542
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 543
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 562
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 563
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 564
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 569
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 570
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 571
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 575
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 578
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 597
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 598
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 609
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 610
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 611
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 616
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 617
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 622
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 632
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 633
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 634
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 638
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 639

spring-framework/spring-web/src/main/java/org/springframework/http/HttpEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 141

spring-framework/spring-web/src/main/java/org/springframework/http/HttpHeaders.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 123
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 128
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 138
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 153
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 168
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 173
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 178
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 183
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 188
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 193
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 198
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 203
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 208
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 213
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 218
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 223
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 228
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 233
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 238
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 243
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 248
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 253
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 258
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 263
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 268
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 273
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 278
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 283
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 288
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 293
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 298
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 303
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 308
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 313
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 318
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 323
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 379
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 403
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 414
 Warning extension MultipleStringLiteralsExtended The String ",\\s*" appears 3 times in the file. 417
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 451
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 530
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 550
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 579
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 681
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 727
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 846
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 860

spring-framework/spring-web/src/main/java/org/springframework/http/HttpStatus.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 419
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 428
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 437
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 447
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 456
 Warning extension MultipleStringLiteralsExtended The String "No matching constant for [" appears 2 times in the file. 488
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 488

spring-framework/spring-web/src/main/java/org/springframework/http/MediaType.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 124
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 129
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 134
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 139
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 154
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 169
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 179
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 189
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 296
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 329
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 342
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 376
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 393
 Warning extension MultipleStringLiteralsExtended The String "'mediaTypes' must not be null" appears 3 times in the file. 439
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 490
 Warning extension ReturnCountExtended Return count for 'compare' method is 2 (max allowed is 1). 493
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 506
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 516
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 522
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 532

spring-framework/spring-web/src/main/java/org/springframework/http/MediaTypeEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 47

spring-framework/spring-web/src/main/java/org/springframework/http/RequestEntity.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 140

spring-framework/spring-web/src/main/java/org/springframework/http/ResponseEntity.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ResponseEntity' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 133

spring-framework/spring-web/src/main/java/org/springframework/http/client/AbstractAsyncClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 42

spring-framework/spring-web/src/main/java/org/springframework/http/client/AbstractClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 41

spring-framework/spring-web/src/main/java/org/springframework/http/client/HttpComponentsAsyncClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101

spring-framework/spring-web/src/main/java/org/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'HttpComponentsAsyncClientHttpRequestFactory' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 66
 Warning extension MultipleStringLiteralsExtended The String "'httpAsyncClient' must not be null" appears 2 times in the file. 67

spring-framework/spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'httpClient' is not of type CloseableHttpClient" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Timeout must be a non-negative value" appears 2 times in the file. 116
 Warning extension ReturnCountExtended Return count for 'createRequest' method is 2 (max allowed is 1). 203
 Warning extension ReturnCountExtended Return count for 'createHttpUriRequest' method is 6 (max allowed is 1). 240
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'HttpDelete' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 306

spring-framework/spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpResponse.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78

spring-framework/spring-web/src/main/java/org/springframework/http/client/HttpComponentsStreamingClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 91 position 61 need optimization. All method calls are advised to move to end of logic expression. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 131
 Warning extension MultipleStringLiteralsExtended The String "Content-Encoding" appears 2 times in the file. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 137

spring-framework/spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 122

spring-framework/spring-web/src/main/java/org/springframework/http/client/SimpleBufferingAsyncClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 82 position 46 need optimization. All method calls are advised to move to end of logic expression. 82
 Warning extension LogicConditionNeedOptimization Condition with && at line 85 position 33 need optimization. All method calls are advised to move to end of logic expression. 85

spring-framework/spring-web/src/main/java/org/springframework/http/client/SimpleBufferingClientHttpRequest.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 74 position 44 need optimization. All method calls are advised to move to end of logic expression. 74
 Warning extension LogicConditionNeedOptimization Condition with && at line 78 position 36 need optimization. All method calls are advised to move to end of logic expression. 78

spring-framework/spring-web/src/main/java/org/springframework/http/client/SimpleClientHttpRequestFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 176

spring-framework/spring-web/src/main/java/org/springframework/http/client/SimpleClientHttpResponse.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

spring-framework/spring-web/src/main/java/org/springframework/http/client/support/InterceptingHttpAccessor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 56

spring-framework/spring-web/src/main/java/org/springframework/http/converter/AbstractHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setSupportedMediaTypes' is called in constructor body. 67
 Warning extension OverridableMethodInConstructor Overridable method 'setSupportedMediaTypes' is called in constructor body. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 224

spring-framework/spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 143
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 178

spring-framework/spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 212
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 216
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 236
 Warning extension MultipleStringLiteralsExtended The String "US-ASCII" appears 2 times in the file. 296
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 431

spring-framework/spring-web/src/main/java/org/springframework/http/converter/ResourceHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 83
 Warning extension ReturnCountExtended Return count for 'loadFileTypeMapFromContextSupportModule' method is 2 (max allowed is 1). 116

spring-framework/spring-web/src/main/java/org/springframework/http/converter/StringHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 119

spring-framework/spring-web/src/main/java/org/springframework/http/converter/feed/AbstractWireFeedHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69

spring-framework/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 66
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 140
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 164

spring-framework/spring-web/src/main/java/org/springframework/http/converter/json/GsonFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 114

spring-framework/spring-web/src/main/java/org/springframework/http/converter/json/GsonHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 114

spring-framework/spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 517

spring-framework/spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 415

spring-framework/spring-web/src/main/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 106

spring-framework/spring-web/src/main/java/org/springframework/http/converter/protobuf/ProtobufHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 127

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 3 times in the file. 57

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'canRead' method is 5 (max allowed is 1). 82
 Warning extension MultipleStringLiteralsExtended The String "Could not unmarshal to [" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 157
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 179
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 180
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 238

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 90
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "Could not instantiate JAXBContext: " appears 2 times in the file. 117
 Warning extension ReturnCountExtended Return count for 'processSource' method is 3 (max allowed is 1). 121
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 167

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/MappingJackson2XmlHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 2 times in the file. 59

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Marshaller must not be null" appears 2 times in the file. 72
 Warning extension LogicConditionNeedOptimization Condition with && at line 109 position 28 need optimization. All method calls are advised to move to end of logic expression. 109
 Warning extension LogicConditionNeedOptimization Condition with && at line 114 position 29 need optimization. All method calls are advised to move to end of logic expression. 114
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 134

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/SourceHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension MultipleStringLiteralsExtended The String "http://xml.org/sax/features/external-general-entities" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "Could not parse document: " appears 3 times in the file. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 248
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 255

spring-framework/spring-web/src/main/java/org/springframework/http/converter/xml/XmlAwareFormHttpMessageConverter.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'XmlAwareFormHttpMessageConverter' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 36

spring-framework/spring-web/src/main/java/org/springframework/http/server/ServletServerHttpAsyncRequestControl.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71

spring-framework/spring-web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170

spring-framework/spring-web/src/main/java/org/springframework/http/server/ServletServerHttpResponse.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 60
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 146
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 156
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 159

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/BurlapClientInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 78
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 158
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 162
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 165
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 168
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 170

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/BurlapServiceExporter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 63
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 71

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/HessianClientInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 257
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 261
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 265
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 268
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 271
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 273

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/HessianExporter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 111

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/HessianServiceExporter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 59
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 68

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/SimpleBurlapServiceExporter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 60
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 70

spring-framework/spring-web/src/main/java/org/springframework/remoting/caucho/SimpleHessianServiceExporter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 56
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 66

spring-framework/spring-web/src/main/java/org/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 73

spring-framework/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 107
 Warning extension MultipleStringLiteralsExtended The String "Timeout must be a non-negative value" appears 2 times in the file. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 277
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 367

spring-framework/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 138
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146

spring-framework/spring-web/src/main/java/org/springframework/remoting/httpinvoker/SimpleHttpInvokerRequestExecutor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 227

spring-framework/spring-web/src/main/java/org/springframework/remoting/jaxws/AbstractJaxWsServiceExporter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 224
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 233

spring-framework/spring-web/src/main/java/org/springframework/remoting/jaxws/JaxWsPortClientInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 360
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 381
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 411
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 440
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 444
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 469
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 488
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 583
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 585

spring-framework/spring-web/src/main/java/org/springframework/remoting/jaxws/LocalJaxWsServiceFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 156
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 182

spring-framework/spring-web/src/main/java/org/springframework/remoting/jaxws/LocalJaxWsServiceFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-web/src/main/java/org/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 158

spring-framework/spring-web/src/main/java/org/springframework/web/HttpRequestMethodNotSupportedException.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108

spring-framework/spring-web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 159

spring-framework/spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension MultipleStringLiteralsExtended The String "At least one ContentNegotiationStrategy is expected" appears 2 times in the file. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152

spring-framework/spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManagerFactoryBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 198
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 210

spring-framework/spring-web/src/main/java/org/springframework/web/accept/HeaderContentNegotiationStrategy.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 53

spring-framework/spring-web/src/main/java/org/springframework/web/accept/MappingMediaTypeFileExtensionResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension OverridableMethodInConstructor Overridable method 'addMapping' is called in constructor body. 58

spring-framework/spring-web/src/main/java/org/springframework/web/accept/PathExtensionContentNegotiationStrategy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'initFileTypeMap' method is 2 (max allowed is 1). 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 193

spring-framework/spring-web/src/main/java/org/springframework/web/bind/EscapedErrors.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 201
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 233

spring-framework/spring-web/src/main/java/org/springframework/web/bind/ServletRequestParameterPropertyValues.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 78

spring-framework/spring-web/src/main/java/org/springframework/web/bind/ServletRequestUtils.java

Severity Category Rule Message Line
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 374
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 376
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 475
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 664

spring-framework/spring-web/src/main/java/org/springframework/web/bind/UnsatisfiedServletRequestParameterException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 56

spring-framework/spring-web/src/main/java/org/springframework/web/bind/annotation/support/HandlerMethodInvoker.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'invokeHandlerMethod' method is 2 (max allowed is 1). 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 303
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 304
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 304
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 369
 Warning extension MoveVariableInsideIf Variable 'methodToInvoke' can be moved inside the block at line '398' to restrict runtime creation. 396
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 499
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 505
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 525
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 534
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 559
 Warning extension ReturnCountExtended Return count for 'resolveRequestHeaderMap' method is 2 (max allowed is 1). 575
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 593
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 637
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 644
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 788
 Warning extension MultipleStringLiteralsExtended The String "' of type [" appears 3 times in the file. 793
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 848
 Warning extension ReturnCountExtended Return count for 'resolveCommonArgument' method is 2 (max allowed is 1). 855
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 890

spring-framework/spring-web/src/main/java/org/springframework/web/bind/annotation/support/HandlerMethodResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145

spring-framework/spring-web/src/main/java/org/springframework/web/bind/support/DefaultSessionAttributeStore.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 45
 Warning extension MultipleStringLiteralsExtended The String "WebRequest must not be null" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 3 times in the file. 52

spring-framework/spring-web/src/main/java/org/springframework/web/bind/support/WebRequestDataBinder.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 163
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 179

spring-framework/spring-web/src/main/java/org/springframework/web/client/AsyncRestTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " request for \"" appears 3 times in the file. 542
 Warning extension MultipleStringLiteralsExtended The String "Async " appears 2 times in the file. 549
 Warning extension MultipleStringLiteralsExtended The String "\" resulted in " appears 2 times in the file. 549
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 550
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 634
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 653

spring-framework/spring-web/src/main/java/org/springframework/web/client/DefaultResponseErrorHandler.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75

spring-framework/spring-web/src/main/java/org/springframework/web/client/HttpMessageConverterExtractor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'extractData' method is 2 (max allowed is 1). 81
 Warning extension MultipleStringLiteralsExtended The String "Reading [" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "] as \"" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "\" using [" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 95

spring-framework/spring-web/src/main/java/org/springframework/web/client/HttpStatusCodeException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 132

spring-framework/spring-web/src/main/java/org/springframework/web/client/MessageBodyClientHttpResponseWrapper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 60 position 42 need optimization. All method calls are advised to move to end of logic expression. 60
 Warning extension LogicConditionNeedOptimization Condition with || at line 60 position 85 need optimization. All method calls are advised to move to end of logic expression. 60
 Warning extension ReturnCountExtended Return count for 'hasEmptyMessageBody' method is 4 (max allowed is 1). 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116

spring-framework/spring-web/src/main/java/org/springframework/web/client/RestTemplate.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension MultipleStringLiteralsExtended The String "'messageConverters' must not be empty" appears 2 times in the file. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 236
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 244
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 329
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 339
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 347
 Warning extension MultipleStringLiteralsExtended The String "'requestEntity' must not be null" appears 2 times in the file. 503
 Warning extension ReturnCountExtended Return count for 'doExecute' method is 2 (max allowed is 1). 558
 Warning extension MultipleStringLiteralsExtended The String " request for \"" appears 2 times in the file. 580
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 676
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 703
 Warning extension MultipleStringLiteralsExtended The String "Writing [" appears 2 times in the file. 766
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 767

spring-framework/spring-web/src/main/java/org/springframework/web/client/UnknownHttpStatusCodeException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 93

spring-framework/spring-web/src/main/java/org/springframework/web/context/ContextCleanupListener.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 71

spring-framework/spring-web/src/main/java/org/springframework/web/context/ContextLoader.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "Context initialization failed" appears 2 times in the file. 331
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 433
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 495
 Warning extension MoveVariableInsideIf Variable 'locatorFactorySelector' can be moved inside the block at line '551' to restrict runtime creation. 548

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/AbstractRequestAttributes.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension MultipleStringLiteralsExtended The String "Name must not be null" appears 2 times in the file. 66

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/DestructionCallbackBindingListener.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/FacesRequestAttributes.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 224
 Warning extension MoveVariableInsideIf Variable 'session' can be moved inside the block at line '234' to restrict runtime creation. 232

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/RequestContextHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 150

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/ServletRequestAttributes.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension ReturnCountExtended Return count for 'getAttribute' method is 3 (max allowed is 1). 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 288

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/ServletWebRequest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 195
 Warning extension LogicConditionNeedOptimization Condition with && at line 211 position 34 need optimization. All method calls are advised to move to end of logic expression. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 229

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/SessionScope.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/CallableInterceptorChain.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 65
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 89
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 101

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResult.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 108
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 130
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 169

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultInterceptorChain.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 63
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 85

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/NoSupportAsyncWebRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No async support in a pre-Servlet 3.0 runtime" appears 3 times in the file. 60

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncManager.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension MultipleStringLiteralsExtended The String "AsyncWebRequest must not be null" appears 3 times in the file. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 142
 Warning extension MultipleStringLiteralsExtended The String "Key is required" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 201
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 281
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 318
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 375
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 388
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 414

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncTask.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 163

spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 92

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/AbstractRefreshableWebApplicationContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 143

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/AnnotationConfigWebApplicationContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 209
 Warning extension MoveVariableInsideIf Variable 'count' can be moved inside the block at line '238' to restrict runtime creation. 237

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/GenericWebApplicationContext.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'GenericWebApplicationContext' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 130
 Warning extension MultipleStringLiteralsExtended The String "Do you still have an 'contextConfigLocations' init-param set?" appears 2 times in the file. 229

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/RequestHandledEvent.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 111
 Warning extension MultipleStringLiteralsExtended The String "session=[" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "]; " appears 4 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "user=[" appears 2 times in the file. 129
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 155

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletContextAttributeExporter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 72

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletContextAttributeFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletContextLiveBeansView.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletContextResource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 227

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletContextResourcePatternResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 131

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletContextScope.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/ServletRequestHandledEvent.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "url=[" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "]; " appears 6 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "client=[" appears 2 times in the file. 164

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/SpringBeanAutowiringSupport.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Target object must not be null" appears 2 times in the file. 80

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/StaticWebApplicationContext.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "StaticWebApplicationContext does not support config locations" appears 2 times in the file. 119
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 136

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/WebApplicationContextUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213

spring-framework/spring-web/src/main/java/org/springframework/web/context/support/WebApplicationObjectSupport.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "WebApplicationObjectSupport instance [" appears 2 times in the file. 112

spring-framework/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 61
 Warning extension LogicConditionNeedOptimization Condition with && at line 210 position 25 need optimization. All method calls are advised to move to end of logic expression. 210

spring-framework/spring-web/src/main/java/org/springframework/web/filter/DelegatingFilterProxy.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setTargetBeanName' is called in constructor body. 161

spring-framework/spring-web/src/main/java/org/springframework/web/filter/GenericFilterBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 242
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 257

spring-framework/spring-web/src/main/java/org/springframework/web/filter/HttpPutFormContentFilter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 136
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153

spring-framework/spring-web/src/main/java/org/springframework/web/filter/OncePerRequestFilter.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'httpResponse' can be moved inside the block at line '103' to restrict runtime creation. 93

spring-framework/spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ETag [" appears 2 times in the file. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 154

spring-framework/spring-web/src/main/java/org/springframework/web/jsf/FacesContextUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "FacesContext must not be null" appears 2 times in the file. 50

spring-framework/spring-web/src/main/java/org/springframework/web/jsf/el/WebApplicationContextFacesELResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getValue' method is 3 (max allowed is 1). 69
 Warning extension MultipleStringLiteralsExtended The String "Attempting to resolve property '" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "' in root WebApplicationContext" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Successfully resolved property '" appears 2 times in the file. 79
 Warning extension ReturnCountExtended Return count for 'getType' method is 3 (max allowed is 1). 106

spring-framework/spring-web/src/main/java/org/springframework/web/method/ControllerAdviceBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187
 Warning extension LogicConditionNeedOptimization Condition with && at line 187 position 45 need optimization. All method calls are advised to move to end of logic expression. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 217
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 243
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 243

spring-framework/spring-web/src/main/java/org/springframework/web/method/HandlerMethod.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bean is required" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Method is required" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "HandlerMethod is required" appears 2 times in the file. 114
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 181
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 239
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 244
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 288

spring-framework/spring-web/src/main/java/org/springframework/web/method/HandlerMethodSelector.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 56

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/AbstractNamedValueMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77
 Warning extension LogicConditionNeedOptimization Condition with && at line 98 position 26 need optimization. All method calls are advised to move to end of logic expression. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 145

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/AbstractWebArgumentResolverAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 81

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension OverridableMethodInConstructor Calling the method 'detectExceptionMappings' in constructor body leads to the call of the overridable method 'detectAnnotationExceptionMappings'. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 150
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 156

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/InitBinderDataBinderFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 163
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 179

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/ModelFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MoveVariableInsideIf Variable 'returnValue' can be moved inside the block at line '138' to restrict runtime creation. 136
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 243
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 271
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 306

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/RequestHeaderMapMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50
 Warning extension ReturnCountExtended Return count for 'resolveArgument' method is 2 (max allowed is 1). 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/RequestHeaderMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 72

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMapMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveArgument' method is 2 (max allowed is 1). 62
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'supportsParameter' method is 3 (max allowed is 1). 126
 Warning extension MultipleStringLiteralsExtended The String "javax.servlet.http.Part" appears 5 times in the file. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 156
 Warning extension MultipleStringLiteralsExtended The String "Expected MultipartHttpServletRequest: is a MultipartResolver configured?" appears 3 times in the file. 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 199
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 222
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 237
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 267

spring-framework/spring-web/src/main/java/org/springframework/web/method/annotation/SessionAttributesHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137

spring-framework/spring-web/src/main/java/org/springframework/web/method/support/CompositeUriComponentsContributor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 90
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 120

spring-framework/spring-web/src/main/java/org/springframework/web/method/support/HandlerMethodArgumentResolverComposite.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 76

spring-framework/spring-web/src/main/java/org/springframework/web/method/support/HandlerMethodReturnValueHandlerComposite.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 70

spring-framework/spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 98
 Warning extension MultipleStringLiteralsExtended The String "Method [" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 139
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 152
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 3 times in the file. 194
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 231
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 234
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 237
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 241
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 269

spring-framework/spring-web/src/main/java/org/springframework/web/method/support/ModelAndViewContainer.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 91
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 137

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/commons/CommonsFileUploadSupport.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'newFileItemFactory' is called in constructor body. 79
 Warning extension OverridableMethodInConstructor Overridable method 'newFileUpload' is called in constructor body. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 220
 Warning extension MultipleStringLiteralsExtended The String "], stored " appears 2 times in the file. 260
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 296

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/commons/CommonsMultipartFile.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 104
 Warning extension MultipleStringLiteralsExtended The String "File has been moved - cannot be read again" appears 2 times in the file. 115
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 127
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 150
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 154
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 159
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 179

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/commons/CommonsMultipartResolver.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CommonsMultipartResolver' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 77
 Warning extension OverridableMethodInConstructor Overridable method 'setServletContext' is called in constructor body. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 193

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/support/ByteArrayMultipartFileEditor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 55

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/support/DefaultMultipartHttpServletRequest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 119

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/support/MissingServletRequestPartException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 47

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/support/RequestPartServletServerHttpRequest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 103

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/support/StandardMultipartHttpServletRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 99
 Warning extension ReturnCountExtended Return count for 'extractFilename' method is 4 (max allowed is 1). 104
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 182
 Warning extension MultipleStringLiteralsExtended The String "Could not access multipart servlet request" appears 2 times in the file. 183
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 240

spring-framework/spring-web/src/main/java/org/springframework/web/multipart/support/StandardServletMultipartResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90

spring-framework/spring-web/src/main/java/org/springframework/web/util/ContentCachingRequestWrapper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 126

spring-framework/spring-web/src/main/java/org/springframework/web/util/ContentCachingResponseWrapper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 102

spring-framework/spring-web/src/main/java/org/springframework/web/util/CookieGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "HttpServletResponse must not be null" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 196

spring-framework/spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getQuery' method is 2 (max allowed is 1). 133
 Warning extension MultipleStringLiteralsExtended The String "Encoding must not be empty" appears 2 times in the file. 186
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 196
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199
 Warning extension MultipleStringLiteralsExtended The String "Invalid encoded sequence \"" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 3 times in the file. 294
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 321
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 324
 Warning extension LogicConditionNeedOptimization Condition with || at line 463 position 36 need optimization. All method calls are advised to move to end of logic expression. 463
 Warning extension LogicConditionNeedOptimization Condition with || at line 463 position 48 need optimization. All method calls are advised to move to end of logic expression. 463
 Warning extension LogicConditionNeedOptimization Condition with || at line 463 position 60 need optimization. All method calls are advised to move to end of logic expression. 463
 Warning extension LogicConditionNeedOptimization Condition with || at line 469 position 48 need optimization. All method calls are advised to move to end of logic expression. 469
 Warning extension LogicConditionNeedOptimization Condition with || at line 469 position 60 need optimization. All method calls are advised to move to end of logic expression. 469
 Warning extension LogicConditionNeedOptimization Condition with || at line 475 position 48 need optimization. All method calls are advised to move to end of logic expression. 475
 Warning extension LogicConditionNeedOptimization Condition with || at line 487 position 48 need optimization. All method calls are advised to move to end of logic expression. 487
 Warning extension LogicConditionNeedOptimization Condition with || at line 487 position 60 need optimization. All method calls are advised to move to end of logic expression. 487
 Warning extension LogicConditionNeedOptimization Condition with || at line 487 position 72 need optimization. All method calls are advised to move to end of logic expression. 487
 Warning extension LogicConditionNeedOptimization Condition with || at line 499 position 22 need optimization. All method calls are advised to move to end of logic expression. 499
 Warning extension LogicConditionNeedOptimization Condition with || at line 511 position 22 need optimization. All method calls are advised to move to end of logic expression. 511
 Warning extension LogicConditionNeedOptimization Condition with || at line 511 position 34 need optimization. All method calls are advised to move to end of logic expression. 511
 Warning extension LogicConditionNeedOptimization Condition with || at line 521 position 23 need optimization. All method calls are advised to move to end of logic expression. 521
 Warning extension LogicConditionNeedOptimization Condition with || at line 521 position 35 need optimization. All method calls are advised to move to end of logic expression. 521
 Warning extension LogicConditionNeedOptimization Condition with || at line 528 position 22 need optimization. All method calls are advised to move to end of logic expression. 528
 Warning extension LogicConditionNeedOptimization Condition with || at line 528 position 34 need optimization. All method calls are advised to move to end of logic expression. 528
 Warning extension LogicConditionNeedOptimization Condition with || at line 584 position 35 need optimization. All method calls are advised to move to end of logic expression. 584
 Warning extension LogicConditionNeedOptimization Condition with || at line 584 position 47 need optimization. All method calls are advised to move to end of logic expression. 584
 Warning extension LogicConditionNeedOptimization Condition with || at line 584 position 59 need optimization. All method calls are advised to move to end of logic expression. 584
 Warning extension LogicConditionNeedOptimization Condition with || at line 584 position 71 need optimization. All method calls are advised to move to end of logic expression. 584
 Warning extension LogicConditionNeedOptimization Condition with || at line 592 position 47 need optimization. All method calls are advised to move to end of logic expression. 592
 Warning extension LogicConditionNeedOptimization Condition with || at line 592 position 59 need optimization. All method calls are advised to move to end of logic expression. 592
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 632
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 656
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 700
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 718
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 728
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 761
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 770
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 786
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 820

spring-framework/spring-web/src/main/java/org/springframework/web/util/HtmlCharacterEntityDecoder.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 63

spring-framework/spring-web/src/main/java/org/springframework/web/util/HtmlCharacterEntityReferences.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 92
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 118
 Warning extension ReturnCountExtended Return count for 'convertToReference' method is 6 (max allowed is 1). 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 148

spring-framework/spring-web/src/main/java/org/springframework/web/util/HtmlUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Encoding is required" appears 3 times in the file. 83

spring-framework/spring-web/src/main/java/org/springframework/web/util/JavaScriptUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\\n" appears 2 times in the file. 67

spring-framework/spring-web/src/main/java/org/springframework/web/util/Log4jWebConfigurer.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 147
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 156
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 187

spring-framework/spring-web/src/main/java/org/springframework/web/util/NestedServletException.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 73 position 25 need optimization. All method calls are advised to move to end of logic expression. 73

spring-framework/spring-web/src/main/java/org/springframework/web/util/OpaqueUriComponents.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

spring-framework/spring-web/src/main/java/org/springframework/web/util/ServletContextPropertyUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 106

spring-framework/spring-web/src/main/java/org/springframework/web/util/UriComponents.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension MultipleStringLiteralsExtended The String "'uriVariables' must not be null" appears 2 times in the file. 151
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 235
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 239
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 276

spring-framework/spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ")?" appears 8 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "(//(" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "@)?" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "(:" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "(\\?" appears 2 times in the file. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension MoveVariableInsideIf Variable 'userInfo' can be moved inside the block at line '208' to restrict runtime creation. 187
 Warning extension MoveVariableInsideIf Variable 'host' can be moved inside the block at line '208' to restrict runtime creation. 188
 Warning extension MoveVariableInsideIf Variable 'port' can be moved inside the block at line '208' to restrict runtime creation. 189
 Warning extension MoveVariableInsideIf Variable 'path' can be moved inside the block at line '208' to restrict runtime creation. 190
 Warning extension MoveVariableInsideIf Variable 'query' can be moved inside the block at line '208' to restrict runtime creation. 191
 Warning extension MultipleStringLiteralsExtended The String "[" appears 3 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "] is not a valid HTTP URL" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 287
 Warning extension LogicConditionNeedOptimization Condition with && at line 313 position 28 need optimization. All method calls are advised to move to end of logic expression. 313
 Warning extension LogicConditionNeedOptimization Condition with && at line 313 position 68 need optimization. All method calls are advised to move to end of logic expression. 313
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 608
 Warning extension MultipleStringLiteralsExtended The String "'name' must not be null" appears 2 times in the file. 640
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 643
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 715
 Warning extension OverridableMethodInConstructor Overridable method 'addPath' is called in constructor body. 721
 Warning extension MoveVariableInsideIf Variable 'fpBuilder' can be moved inside the block at line '728' to restrict runtime creation. 727
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 744
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 768
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 837
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 849

spring-framework/spring-web/src/main/java/org/springframework/web/util/UriTemplate.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 174

spring-framework/spring-web/src/main/java/org/springframework/web/util/UriUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ")?" appears 8 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "(//(" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "@)?" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "(:" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "(\\?" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Encoding must not be empty" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Invalid encoded sequence \"" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 355
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 369

spring-framework/spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 155
 Warning extension ReturnCountExtended Return count for 'getPathWithinServletMapping' method is 4 (max allowed is 1). 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 217
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 217
 Warning extension ReturnCountExtended Return count for 'getRemainingPath' method is 5 (max allowed is 1). 230
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 233
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 496
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 520
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 548

spring-framework/spring-web/src/main/java/org/springframework/web/util/WebUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ServletContext must not be null" appears 4 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 156
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 162
 Warning extension MultipleStringLiteralsExtended The String "' = [" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 171
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 183
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 219
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 237
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 240
 Warning extension MultipleStringLiteralsExtended The String "Request must not be null" appears 8 times in the file. 289
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 291
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 305
 Warning extension MultipleStringLiteralsExtended The String "Session must not be null" appears 2 times in the file. 361
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 368
 Warning extension MultipleStringLiteralsExtended The String "] for session attribute '" appears 2 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "': " appears 2 times in the file. 370
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 373
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 464
 Warning extension ReturnCountExtended Return count for 'findParameterValue' method is 3 (max allowed is 1). 618
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 623
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 662
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 755
 Warning extension ReturnCountExtended Return count for 'isValidOrigin' method is 4 (max allowed is 1). 785
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 807
 Warning extension LogicConditionNeedOptimization Condition with && at line 807 position 74 need optimization. All method calls are advised to move to end of logic expression. 807

spring-framework/spring-web/src/test/java/org/springframework/http/HttpEntityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 33
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 7 times in the file. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89

spring-framework/spring-web/src/test/java/org/springframework/http/HttpHeadersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "html" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 2 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension MultipleStringLiteralsExtended The String "Invalid Accept header" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "ISO-8859-1" appears 2 times in the file. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension MultipleStringLiteralsExtended The String "Accept-Charset" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Invalid Allow header" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Invalid Content-Length header" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Invalid Content-Type header" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "http://www.example.com/hotels" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "Invalid Location header" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "\"v2.6\"" appears 6 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Invalid ETag header" appears 4 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "ETag" appears 2 times in the file. 128
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 131
 Warning extension MultipleStringLiteralsExtended The String "Invalid If-None-Match header" appears 4 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "If-None-Match" appears 2 times in the file. 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension MultipleStringLiteralsExtended The String "CET" appears 5 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "Invalid Date header" appears 5 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "Thu, 18 Dec 2008 10:20:00 GMT" appears 5 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "Date" appears 2 times in the file. 169
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 173
 Warning extension MultipleStringLiteralsExtended The String "nl" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "Invalid Last-Modified header" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "Invalid Expires header" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "Invalid If-Modified-Since header" appears 2 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "no-cache" appears 4 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "Invalid Pragma header" appears 2 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "Invalid Cache-Control header" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "Invalid Content-Disposition header" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "Content-Disposition" appears 2 times in the file. 256

spring-framework/spring-web/src/test/java/org/springframework/http/HttpStatusTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30
 Warning extension MultipleStringLiteralsExtended The String "Invalid name for [" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 109

spring-framework/spring-web/src/test/java/org/springframework/http/MediaTypeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text" appears 8 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 2 times in the file. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 50
 Warning extension MultipleStringLiteralsExtended The String "Invalid type" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "audio" appears 38 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Invalid subtype" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "*" appears 12 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Invalid quality factor" appears 2 times in the file. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 70
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 80
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 90
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 95
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 100
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 110
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 115
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 120
 Warning extension MultipleStringLiteralsExtended The String "No media types returned" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "Invalid amount of media types" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "basic" appears 18 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "wave" appears 5 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "level" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result" appears 60 times in the file. 155
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 161
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension MultipleStringLiteralsExtended The String "Invalid media type at " appears 5 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "text/html; q=0.7; charset=iso-8859-1" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "Media types not equal" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "compareTo() not consistent with equals" appears 4 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "html" appears 4 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "*+xml" appears 2 times in the file. 226
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 280
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 288
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 307
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 312
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 384
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 392
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 411
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 416
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 428

spring-framework/spring-web/src/test/java/org/springframework/http/MockHttpOutputMessage.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-web/src/test/java/org/springframework/http/RequestEntityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 5 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 3 times in the file. 86

spring-framework/spring-web/src/test/java/org/springframework/http/ResponseEntityTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension MultipleStringLiteralsExtended The String "location" appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "Location" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "error" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "X-CustomHeader" appears 3 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "vale" appears 2 times in the file. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188

spring-framework/spring-web/src/test/java/org/springframework/http/client/AbstractAsyncHttpRequestFactoryTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/status/notfound" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Invalid HTTP method" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Invalid HTTP URI" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "/echo" appears 3 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "MyHeader" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 177

spring-framework/spring-web/src/test/java/org/springframework/http/client/AbstractHttpRequestFactoryTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid HTTP method" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "/echo" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "MyHeader" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 87
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 116
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 143
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 146

spring-framework/spring-web/src/test/java/org/springframework/http/client/BufferedSimpleAsyncHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 40

spring-framework/spring-web/src/test/java/org/springframework/http/client/BufferedSimpleHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 42
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "DELETE" appears 2 times in the file. 59

spring-framework/spring-web/src/test/java/org/springframework/http/client/BufferingClientHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Header not found" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Header value not found" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Invalid body" appears 2 times in the file. 63

spring-framework/spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/status/ok" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "No custom config should be set with a custom HttpClient" appears 2 times in the file. 91

spring-framework/spring-web/src/test/java/org/springframework/http/client/InterceptingClientHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 6 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218

spring-framework/spring-web/src/test/java/org/springframework/http/client/StreamingSimpleHttpRequestFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid response status" appears 2 times in the file. 64
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 76

spring-framework/spring-web/src/test/java/org/springframework/http/client/support/ProxyFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 39
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 51
 Warning extension MultipleStringLiteralsExtended The String "example.com" appears 2 times in the file. 53

spring-framework/spring-web/src/test/java/org/springframework/http/converter/BufferedImageHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Image not supported" appears 5 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "image" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "png" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "logo.jpg" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Invalid height" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Invalid width" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Invalid content type" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Invalid size" appears 2 times in the file. 77

spring-framework/spring-web/src/test/java/org/springframework/http/converter/ByteArrayHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "application" appears 4 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "octet-stream" appears 4 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 2 times in the file. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 63

spring-framework/spring-web/src/test/java/org/springframework/http/converter/FormHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "application" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "x-www-form-urlencoded" appears 4 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "multipart" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "form-data" appears 4 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 4 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "name+1=value+1&name+2=value+2%2B1&name+2=value+2%2B2&name+3" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 7 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "value 1" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "name 1" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "name 2" appears 7 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "value 2+1" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "value 2+2" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "name 3" appears 3 times in the file. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/http/converter/logo.jpg" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "logo" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "Hall\u00F6le.jpg" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "utf8" appears 2 times in the file. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 2 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension MultipleStringLiteralsExtended The String "image/jpeg" appears 2 times in the file. 168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172

spring-framework/spring-web/src/test/java/org/springframework/http/converter/HttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "Not expected" appears 3 times in the file. 77

spring-framework/spring-web/src/test/java/org/springframework/http/converter/ObjectToStringHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension MultipleStringLiteralsExtended The String "ISO-8859-1" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "UTF-16" appears 6 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Accept-Charset" appears 2 times in the file. 112
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 173

spring-framework/spring-web/src/test/java/org/springframework/http/converter/ResourceHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "octet-stream" appears 2 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "logo.jpg" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84

spring-framework/spring-web/src/test/java/org/springframework/http/converter/StringHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MultipleStringLiteralsExtended The String "text" appears 7 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 6 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "H\u00e9llo W\u00f6rld" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-length" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Invalid accept-charset" appears 3 times in the file. 73

spring-framework/spring-web/src/test/java/org/springframework/http/converter/feed/AtomFeedHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "application" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "atom+xml" appears 7 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "title" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "id1" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "title1" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "id2" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "title2" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "atom_1.0" appears 2 times in the file. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 2 times in the file. 109

spring-framework/spring-web/src/test/java/org/springframework/http/converter/feed/RssChannelHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "application" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "rss+xml" appears 7 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "title" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "description" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "title1" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "title2" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "rss_2.0" appears 2 times in the file. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 2 times in the file. 109

spring-framework/spring-web/src/test/java/org/springframework/http/converter/json/GsonFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Jason" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "Bob=Bob" appears 2 times in the file. 87

spring-framework/spring-web/src/test/java/org/springframework/http/converter/json/GsonHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "application" appears 13 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "json" appears 11 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "vnd.test-micro-type+json" appears 2 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "{\"bytes\":[1,2],\"array\":[\"Foo\",\"Bar\"]," appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "\"number\":42,\"string\":\"Foo\",\"bool\":true,\"fraction\":42.0}" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 10 times in the file. 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 79
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 5 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 117
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 140
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 144
 Warning extension MultipleStringLiteralsExtended The String "[{\"bytes\":[1,2],\"array\":[\"Foo\",\"Bar\"]," appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "\"number\":42,\"string\":\"Foo\",\"bool\":true,\"fraction\":42.0}]" appears 2 times in the file. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 212

spring-framework/spring-web/src/test/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilderTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension MultipleStringLiteralsExtended The String "Europe/Paris" appears 2 times in the file. 189
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 237
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 7 times in the file. 239
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 246
 Warning extension MultipleStringLiteralsExtended The String "1322903730000" appears 3 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "customid" appears 4 times in the file. 248
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 254
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 304
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 323
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 362
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404

spring-framework/spring-web/src/test/java/org/springframework/http/converter/json/Jackson2ObjectMapperFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension MultipleStringLiteralsExtended The String "Europe/Paris" appears 2 times in the file. 188
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 240
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 242
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 251
 Warning extension MultipleStringLiteralsExtended The String "1322903730000" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "customid" appears 3 times in the file. 253
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 349
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 360
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 363
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 367
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 368
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 373
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396

spring-framework/spring-web/src/test/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "application" appears 14 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "json" appears 12 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "vnd.test-micro-type+json" appears 2 times in the file. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "{\"bytes\":\"AQI=\",\"array\":[\"Foo\",\"Bar\"],\"number\":42,\"string\":\"Foo\",\"bool\":true,\"fraction\":42.0}" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 13 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 10 times in the file. 80
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 5 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 114
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 137
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 141
 Warning extension MultipleStringLiteralsExtended The String "[{\"bytes\":\"AQI=\",\"array\":[\"Foo\",\"Bar\"],\"number\":42,\"string\":\"Foo\",\"bool\":true,\"fraction\":42.0}]" appears 2 times in the file. 174
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 186
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 206
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 208
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "with" appears 4 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "without" appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "\"withView1\":\"with\"" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "\"withView2\":\"with\"" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "\"withoutView\":\"without\"" appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "callback" appears 2 times in the file. 265

spring-framework/spring-web/src/test/java/org/springframework/http/converter/json/SpringHandlerInstantiatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bob" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "BOB" appears 2 times in the file. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "authors" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension MultipleStringLiteralsExtended The String "username" appears 2 times in the file. 129
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 169
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 185
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 187
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 207

spring-framework/spring-web/src/test/java/org/springframework/http/converter/protobuf/ProtobufHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 63
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114

spring-framework/spring-web/src/test/java/org/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 12 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "external.txt" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "<!DOCTYPE root [" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String " <!ELEMENT external ANY >\n" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String " <!ENTITY ext SYSTEM \"" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "\" >]>" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String " <list><rootElement><type s=\"1\"/><external>&ext;</external></rootElement></list>" appears 2 times in the file. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 177
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 180
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 211

spring-framework/spring-web/src/test/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Converter does not support writing @XmlRootElement subclass" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "<rootElement><type s=\"Hello World\"/></rootElement>" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 9 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 6 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "external.txt" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String " <!ELEMENT external ANY >\n" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String " <!ENTITY ext SYSTEM \"" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "\" >]>" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String " <rootElement><external>&ext;</external></rootElement>" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "<myRootElement><element>a|||b</element></myRootElement>" appears 2 times in the file. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 183

spring-framework/spring-web/src/test/java/org/springframework/http/converter/xml/MappingJackson2XmlHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension MultipleStringLiteralsExtended The String "application" appears 8 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 8 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension MultipleStringLiteralsExtended The String "soap+xml" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 4 times in the file. 70
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 73
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 2 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 75
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 101
 Warning extension MultipleStringLiteralsExtended The String "with" appears 2 times in the file. 122

spring-framework/spring-web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "<root>Hello World</root>" appears 3 times in the file. 77
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 90
 Warning extension MultipleStringLiteralsExtended The String "forced" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "Invalid exception hierarchy" appears 2 times in the file. 118
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 156

spring-framework/spring-web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<root>Hello World</root>" appears 6 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "application" appears 15 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 13 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension MultipleStringLiteralsExtended The String "soap+xml" appears 2 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 11 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 9 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "root" appears 5 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Foo Bar" appears 3 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 2 times in the file. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 3 times in the file. 194

spring-framework/spring-web/src/test/java/org/springframework/http/server/ServletServerHttpRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "MyHeader" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "No HttpHeaders returned" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Invalid headers returned" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Invalid header values returned" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Invalid content returned" appears 2 times in the file. 114

spring-framework/spring-web/src/test/java/org/springframework/http/server/ServletServerHttpResponseTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Header not set" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Invalid Content-Type" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "text/plain;charset=UTF-8" appears 2 times in the file. 70

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/HeaderValueHolder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockAsyncContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockFilterConfig.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 77
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 93

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockHttpServletRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.1" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "localhost" appears 2 times in the file. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 186
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 257
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 354
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 3 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "Parameter map must not be null" appears 2 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "Parameter map key must be of type [" appears 2 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "Parameter map value must be single value " appears 2 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String " or array of type [" appears 2 times in the file. 426
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 501
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 502
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 512
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 2 times in the file. 590
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 820
 Warning extension MultipleStringLiteralsExtended The String "Value for header '" appears 2 times in the file. 829
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 839
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 856
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 891
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 927
 Warning extension LogicConditionNeedOptimization Condition with && at line 963 position 41 need optimization. All method calls are advised to move to end of logic expression. 963
 Warning extension LogicConditionNeedOptimization Condition with && at line 963 position 104 need optimization. All method calls are advised to move to end of logic expression. 963
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 986
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1084

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockHttpServletResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension LogicConditionNeedOptimization Condition with && at line 152 position 64 need optimization. All method calls are advised to move to end of logic expression. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 178
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 323
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 348
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 378
 Warning extension MultipleStringLiteralsExtended The String "Cannot set error status - response is already committed" appears 2 times in the file. 431
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 585

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockHttpSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 3 times in the file. 158
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '223' to restrict runtime creation. 220
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 257
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 274

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockJspWriter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 65

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockMultipartFile.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockMultipartHttpServletRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockPageContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 124
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 6 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "Invalid scope: " appears 4 times in the file. 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 188
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 273
 Warning extension MultipleStringLiteralsExtended The String "Page exception" appears 2 times in the file. 371

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockPart.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 128

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockRequestDispatcher.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Request must not be null" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Response must not be null" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 67

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockServletConfig.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 92

spring-framework/spring-web/src/test/java/org/springframework/mock/web/test/MockServletContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension MultipleStringLiteralsExtended The String "MockServletContext" appears 2 times in the file. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 192
 Warning extension OverridableMethodInConstructor Overridable method 'registerNamedDispatcher' is called in constructor body. 200
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 210
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 217
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 282
 Warning extension ReturnCountExtended Return count for 'getResourcePaths' method is 3 (max allowed is 1). 286
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 287
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 293
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 295
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 307
 Warning extension MultipleStringLiteralsExtended The String "RequestDispatcher name must not be null" appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 3 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "Attribute name must not be null" appears 3 times in the file. 485
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 551

spring-framework/spring-web/src/test/java/org/springframework/protobuf/Msg.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 19
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 28
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 58
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 64
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 64
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 64
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 72
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 78
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 116
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 117
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 122
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 122
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 165
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 165
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 165
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 170
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 176
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 184
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 196
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 196
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 199
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 199
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 211
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 211
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 215
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 215
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 215
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 224
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 316
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 320
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 337
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 337
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 343
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 343
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 373
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 376
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 376
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 376
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 377
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 401
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 433
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 436
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 441
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 441
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 441
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 481
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 490
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 490
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 503
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 510
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 511
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 517
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 517
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 517
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 542
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 556
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 564
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 564
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 575
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 588
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 588
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 595

spring-framework/spring-web/src/test/java/org/springframework/protobuf/OuterSample.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 26
 Warning extension MultipleStringLiteralsExtended The String "Blah" appears 2 times in the file. 45

spring-framework/spring-web/src/test/java/org/springframework/protobuf/SecondMsg.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 19
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 28
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 58
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 65
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 101
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 109
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 121
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 154
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 246
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 250
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 266
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 266
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 295
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 295
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 295
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 296
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 343
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 346
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 351
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 351
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 351
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 356
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 363
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 372

spring-framework/spring-web/src/test/java/org/springframework/remoting/caucho/CauchoRemotingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalArgumentException" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "http://localhosta/testbean" appears 6 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Correct singleton value" appears 6 times in the file. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RemoteAccessException" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 6 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173

spring-framework/spring-web/src/test/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://fake-service" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "No custom config should be set with a custom HttpClient" appears 2 times in the file. 89

spring-framework/spring-web/src/test/java/org/springframework/remoting/httpinvoker/HttpInvokerFactoryBeanIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myBean" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "myService" appears 3 times in the file. 48

spring-framework/spring-web/src/test/java/org/springframework/remoting/httpinvoker/HttpInvokerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myname" appears 11 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "http://myurl" appears 12 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 2 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 4 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalAccessException" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "argh" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown RemoteAccessException" appears 2 times in the file. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "gzip" appears 3 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Compression" appears 3 times in the file. 167
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 207
 Warning extension MultipleStringLiteralsExtended The String "Deserialized object needs to be assignable to type [" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 6 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 8 times in the file. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 467

spring-framework/spring-web/src/test/java/org/springframework/remoting/jaxws/JaxWsSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "exporter" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "wsdlDocumentUrl" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:9999/OrderService?wsdl" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "namespaceUri" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "http://jaxws.remoting.springframework.org/" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "serviceName" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "OrderService" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "client" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "accessor" appears 2 times in the file. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "order 1000" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown OrderNotFoundException" appears 2 times in the file. 111

spring-framework/spring-web/src/test/java/org/springframework/web/accept/ContentNegotiationManagerFactoryBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/flower.xyz" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/flower" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "format" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "json" appears 4 times in the file. 88
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 100
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 132

spring-framework/spring-web/src/test/java/org/springframework/web/accept/HeaderContentNegotiationStrategyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 2 times in the file. 53
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 63

spring-framework/spring-web/src/test/java/org/springframework/web/accept/MappingContentNegotiationStrategyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "json" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 2 times in the file. 72

spring-framework/spring-web/src/test/java/org/springframework/web/accept/MappingMediaTypeFileExtensionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "json" appears 3 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51

spring-framework/spring-web/src/test/java/org/springframework/web/accept/PathExtensionContentNegotiationStrategyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "html" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "/project-1.0.0.M3" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "Context path should be excluded" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "test.xyz" appears 2 times in the file. 131
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 139

spring-framework/spring-web/src/test/java/org/springframework/web/bind/EscapedErrorsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "name" appears 8 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "NAME_EMPTY &" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "age" appears 9 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "AGE_NOT_SET <tag>" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "message: <tag>" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "AGE_NOT_32 <tag>" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "GENERAL_ERROR \" '" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Same global error in list" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "empty &amp;" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Same name error in list" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "message: &lt;tag&gt;" appears 2 times in the file. 83

spring-framework/spring-web/src/test/java/org/springframework/web/bind/ServletRequestDataBinderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "_postProcessed" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "visible" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "postProcessed" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "on" appears 5 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension MultipleStringLiteralsExtended The String "!postProcessed" appears 3 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension MultipleStringLiteralsExtended The String "anonymous" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "Scott" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 5 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "123,def" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "forname" appears 7 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 4 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "surname" appears 3 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "Blair" appears 3 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "age" appears 3 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "test_forname" appears 2 times in the file. 202
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 245

spring-framework/spring-web/src/test/java/org/springframework/web/bind/ServletRequestUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 24 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 40 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "e" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "paramEmpty" appears 13 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown ServletRequestBindingException" appears 19 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "param3" appears 19 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "param" appears 10 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "5.5" appears 2 times in the file. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension MultipleStringLiteralsExtended The String "1.5" appears 4 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "2.5" appears 2 times in the file. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "param4" appears 3 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "param5" appears 3 times in the file. 313
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 317
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension MultipleStringLiteralsExtended The String "str" appears 4 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 396
 Warning extension MultipleStringLiteralsExtended The String "nonExistingParam" appears 6 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "getStringParameter took too long: " appears 6 times in the file. 401
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 410
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 424
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 438
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 452
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 466

spring-framework/spring-web/src/test/java/org/springframework/web/bind/support/WebRequestDataBinderIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/parts" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "/partlist" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/http/converter/logo.jpg" appears 2 times in the file. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125
 Warning extension MultipleStringLiteralsExtended The String "partList" appears 4 times in the file. 126

spring-framework/spring-web/src/test/java/org/springframework/web/bind/support/WebRequestDataBinderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "_postProcessed" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "visible" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "postProcessed" appears 8 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "on" appears 5 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String "!postProcessed" appears 3 times in the file. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String "anonymous" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "Scott" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 8 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "123,def" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 6 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "Eva" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "forname" appears 7 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "Tony" appears 4 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "surname" appears 3 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "Blair" appears 3 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "age" appears 3 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "test_forname" appears 2 times in the file. 249
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 272
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 330

spring-framework/spring-web/src/test/java/org/springframework/web/client/AbstractJettyServerTestCase.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "charset" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Invalid request content-length" appears 3 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "No content-type" appears 3 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "Invalid request body" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "Location" appears 2 times in the file. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension MultipleStringLiteralsExtended The String "name 2" appears 2 times in the file. 268
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277

spring-framework/spring-web/src/test/java/org/springframework/web/client/AsyncRestTemplateIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{method}" appears 18 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "get" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Invalid content" appears 13 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "No headers" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Invalid content-type" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Invalid response code" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "/get" appears 6 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "No Content-Type header" appears 3 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 3 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "text" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "ISO-8859-15" appears 3 times in the file. 183
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 184
 Warning extension MultipleStringLiteralsExtended The String "post" appears 9 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "Invalid location" appears 6 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "/post/1" appears 6 times in the file. 187
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 215
 Warning extension MultipleStringLiteralsExtended The String "put" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "/delete" appears 3 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "/status/notfound" appears 3 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "onSuccess not expected" appears 4 times in the file. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension MultipleStringLiteralsExtended The String "/status/server" appears 3 times in the file. 371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension MultipleStringLiteralsExtended The String "Invalid response" appears 3 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "MyHeader" appears 6 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "MyValue" appears 6 times in the file. 457
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 506
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 512
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 520
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 528
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 544
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 558
 Warning extension MultipleStringLiteralsExtended The String "name 2" appears 2 times in the file. 560

spring-framework/spring-web/src/test/java/org/springframework/web/client/DefaultResponseErrorHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "Not Found" appears 3 times in the file. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 94
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 108

spring-framework/spring-web/src/test/java/org/springframework/web/client/HttpMessageConverterExtractorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 2 times in the file. 128
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 183

spring-framework/spring-web/src/test/java/org/springframework/web/client/RestTemplateIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{method}" appears 7 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "get" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Invalid content" appears 11 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "/status/nocontent" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Invalid response code" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "/status/notmodified" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "post" appears 6 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Invalid location" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "/post/1" appears 3 times in the file. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension MultipleStringLiteralsExtended The String "Invalid request URI" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "/uri/query={query}" appears 2 times in the file. 163
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 172
 Warning extension MultipleStringLiteralsExtended The String "name 2" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "MyHeader" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "MyValue" appears 2 times in the file. 185
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 186
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "json" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "with" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "without" appears 2 times in the file. 210
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 211
 Warning extension MultipleStringLiteralsExtended The String "/jsonpost" appears 2 times in the file. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension MultipleStringLiteralsExtended The String "\"with1\":\"with\"" appears 2 times in the file. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension MultipleStringLiteralsExtended The String "\"with2\":\"with\"" appears 2 times in the file. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension MultipleStringLiteralsExtended The String "\"without\":\"without\"" appears 2 times in the file. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229

spring-framework/spring-web/src/test/java/org/springframework/web/client/RestTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "42" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/-foo" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/{first}-{last}" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 38 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "text" appears 6 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 6 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 11 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "Invalid GET result" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "Invalid Accept header" appears 6 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 6 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/resource" appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 5 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotels" appears 3 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "Invalid POST result" appears 10 times in the file. 298
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 324
 Warning extension MultipleStringLiteralsExtended The String "MyHeader" appears 6 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "MyValue" appears 6 times in the file. 351
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 352
 Warning extension MultipleStringLiteralsExtended The String "Invalid content length" appears 4 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "Invalid Content-Type" appears 4 times in the file. 462
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 642
 Warning extension MultipleStringLiteralsExtended The String "Invalid custom header" appears 2 times in the file. 647
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 686

spring-framework/spring-web/src/test/java/org/springframework/web/context/ContextLoaderInitializerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/RequestAndSessionScopedBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "target" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 2 times in the file. 70

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/RequestContextListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/RequestScopeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/RequestScopedProxyTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "scopedTarget." appears 22 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "scoped" appears 10 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension MultipleStringLiteralsExtended The String "outerBean" appears 3 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/ServletRequestAttributesTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/ServletWebRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 9 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value2a" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 6 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "If-Modified-Since" appears 6 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension MultipleStringLiteralsExtended The String "Last-Modified" appears 3 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "HEAD" appears 4 times in the file. 144
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "Wed, 09 Apr 2014 09:57:42 GMT" appears 2 times in the file. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension MultipleStringLiteralsExtended The String "\"Foo\"" appears 4 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "If-None-Match" appears 4 times in the file. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 2 times in the file. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension MultipleStringLiteralsExtended The String "ETag" appears 2 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/SessionScopeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sessionScopedDisposableObject" appears 3 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/WebApplicationContextScopeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/async/DeferredResultTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 9 times in the file. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension MultipleStringLiteralsExtended The String "completion event" appears 2 times in the file. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "timeout result" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "timeout event" appears 2 times in the file. 117

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequestTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "expected exception" appears 2 times in the file. 93
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 128

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "AsyncWebRequest must not be null" appears 2 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 90
 Warning extension MultipleStringLiteralsExtended The String "interceptor" appears 9 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension MultipleStringLiteralsExtended The String "Expected Exception" appears 2 times in the file. 152
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 153
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 239
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 263
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 286
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 298
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 311
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 332
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 385

spring-framework/spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTimeoutTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "interceptor" appears 4 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "timeoutInterceptor" appears 2 times in the file. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253

spring-framework/spring-web/src/test/java/org/springframework/web/context/support/ResourceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Resource.class" appears 2 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension MultipleStringLiteralsExtended The String "ClassPathResource.class" appears 3 times in the file. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "ResourcePatternResolver.class" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

spring-framework/spring-web/src/test/java/org/springframework/web/context/support/Spr8510Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "programmatic.xml" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "expected exception" appears 5 times in the file. 51
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 52
 Warning extension MultipleStringLiteralsExtended The String "from-init-param.xml" appears 3 times in the file. 73
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 78
 Warning extension MultipleStringLiteralsExtended The String "Could not open ServletContext resource [/from-init-param.xml]" appears 3 times in the file. 81
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156

spring-framework/spring-web/src/test/java/org/springframework/web/context/support/SpringBeanAutowiringSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 2 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53

spring-framework/spring-web/src/test/java/org/springframework/web/filter/CompositeFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "called" appears 2 times in the file. 61

spring-framework/spring-web/src/test/java/org/springframework/web/filter/DelegatingFilterProxyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "targetFilter" appears 22 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "targetBeanName" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "called" appears 9 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "CUSTOM_ATTR" appears 2 times in the file. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 174

spring-framework/spring-web/src/test/java/org/springframework/web/filter/HiddenHttpMethodFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "/hotels" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Invalid method" appears 2 times in the file. 51

spring-framework/spring-web/src/test/java/org/springframework/web/filter/HttpPutFormContentFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application/x-www-form-urlencoded; charset=ISO-8859-1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "ISO-8859-1" appears 12 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "name=value" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "name" appears 16 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 11 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Request not wrapped" appears 8 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 9 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "name4" appears 2 times in the file. 134
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 147
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "anotherName=anotherValue" appears 3 times in the file. 154
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 160
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 173

spring-framework/spring-web/src/test/java/org/springframework/web/filter/RequestContextFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myAttr" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 2 times in the file. 50

spring-framework/spring-web/src/test/java/org/springframework/web/filter/RequestLoggingFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "/hotels" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "booking=42" appears 4 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "uri=/hotel" appears 2 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "uri=/hotels?booking=42" appears 2 times in the file. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 5 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169

spring-framework/spring-web/src/test/java/org/springframework/web/filter/ShallowEtagHeaderFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 7 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "/hotels" appears 9 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Invalid request passed" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Invalid status" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Invalid ETag header" appears 6 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "\"0b10a8db164e0754105b7a99be72e3fe5\"" appears 5 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "ETag" appears 6 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Invalid Content-Length header" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Invalid content" appears 6 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "If-None-Match" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Response has Content-Length header" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Content-Length" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "ERROR" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "http://www.google.com" appears 2 times in the file. 197

spring-framework/spring-web/src/test/java/org/springframework/web/jsf/DelegatingNavigationHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "jsfNavigationHandler" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "fromAction" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "myViewId" appears 5 times in the file. 56

spring-framework/spring-web/src/test/java/org/springframework/web/jsf/DelegatingPhaseListenerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

spring-framework/spring-web/src/test/java/org/springframework/web/jsf/MockLifecycle.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 40

spring-framework/spring-web/src/test/java/org/springframework/web/method/ControllerAdviceBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should match all" appears 4 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "base package support" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "bean not in package" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "base package class support" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "should not match" appears 5 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "controller implements assignable" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "not assignable" appears 2 times in the file. 91

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/CookieValueMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ErrorsMethodHandlerArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ignore1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 63
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 84

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ExceptionHandlerMethodResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handleIOException" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "handleSocketException" appears 2 times in the file. 61
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 91

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ExpressionValueMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension MultipleStringLiteralsExtended The String "systemProperty" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "22" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "/contextPath" appears 2 times in the file. 93

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/InitBinderDataBinderFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "initBinder" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "initBinderWithAttributeName" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "invalidName" appears 2 times in the file. 94
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 107

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/MapMethodProcessorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "attr1" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "attr2" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 81
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 91

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "attrName" appears 4 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 5 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 190
 Warning extension MultipleStringLiteralsExtended The String "expected" appears 3 times in the file. 232

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ModelFactoryOrderingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "methods" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "getA" appears 13 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getB1" appears 10 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getB2" appears 11 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getC1" appears 12 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getC2" appears 13 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getC3" appears 14 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "getC4" appears 14 times in the file. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 328
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 332

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ModelFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "modelAttr" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "sessionAttr" appears 8 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "sessionAttrValue" appears 4 times in the file. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 179
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 283

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/ModelMethodProcessorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension MultipleStringLiteralsExtended The String "attr1" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "attr2" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 82

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/RequestHeaderMapMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/RequestHeaderMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 3 times in the file. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 103
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension MultipleStringLiteralsExtended The String "systemProperty" appears 2 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension MultipleStringLiteralsExtended The String "/bar" appears 2 times in the file. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 139

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/RequestParamMapMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 2 times in the file. 91
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MultipartFile parameter not supported" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "Part parameter not supported" appears 2 times in the file. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 7 times in the file. 158
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 163
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 5 times in the file. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension MultipleStringLiteralsExtended The String "mfilelist" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "Hello World 1" appears 5 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "Hello World 2" appears 5 times in the file. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension MultipleStringLiteralsExtended The String "mfilearray" appears 2 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 5 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "multipart/form-data" appears 5 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension MultipleStringLiteralsExtended The String "pfilelist" appears 2 times in the file. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension MultipleStringLiteralsExtended The String "pfilearray" appears 2 times in the file. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension MultipleStringLiteralsExtended The String "multipartFileList" appears 3 times in the file. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 292
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 349
 Warning extension MultipleStringLiteralsExtended The String "stringNotAnnot" appears 4 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "plainValue" appears 2 times in the file. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/SessionAttributesHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "attr1" appears 8 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "attr2" appears 8 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "attr3" appears 9 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115

spring-framework/spring-web/src/test/java/org/springframework/web/method/annotation/WebArgumentResolverAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Parameter supported" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 2 times in the file. 85
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 110
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 117
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 124

spring-framework/spring-web/src/test/java/org/springframework/web/method/support/CompositeUriComponentsContributorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56

spring-framework/spring-web/src/test/java/org/springframework/web/method/support/HandlerMethodArgumentResolverCompositeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75

spring-framework/spring-web/src/test/java/org/springframework/web/method/support/HandlerMethodReturnValueHandlerCompositeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75

spring-framework/spring-web/src/test/java/org/springframework/web/method/support/InvocableHandlerMethodTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "99-value" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 4 times in the file. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "error" appears 4 times in the file. 163
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 164
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 167
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 172
 Warning extension IllegalCatchExtended Catching 'Error' is not allowed. 175
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 180
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 183
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194

spring-framework/spring-web/src/test/java/org/springframework/web/method/support/ModelAndViewContainerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76

spring-framework/spring-web/src/test/java/org/springframework/web/method/support/StubArgumentResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-web/src/test/java/org/springframework/web/multipart/commons/CommonsMultipartResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mytemp" appears 6 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "enc" appears 2 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "multipart/form-data" appears 6 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Content-type" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "getField" appears 4 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "getValue" appears 3 times in the file. 105
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 5 times in the file. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 7 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 4 times in the file. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 5 times in the file. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "value5" appears 3 times in the file. 134
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 11 times in the file. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 9 times in the file. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension MultipleStringLiteralsExtended The String "field2x" appears 7 times in the file. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 4 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "field1.txt" appears 3 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "text1" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "text2" appears 3 times in the file. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension MultipleStringLiteralsExtended The String "mybean" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "UTF-16" appears 2 times in the file. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 279
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 305
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 306
 Warning extension MultipleStringLiteralsExtended The String "myMultipartResolver" appears 2 times in the file. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 378
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 380
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 382
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 384
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 386
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 484

spring-framework/spring-web/src/test/java/org/springframework/web/multipart/support/ByteArrayMultipartFileEditorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'Green Wing' - classic British comedy" appears 2 times in the file. 41

spring-framework/spring-web/src/test/java/org/springframework/web/multipart/support/RequestPartServletServerHttpRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "part" appears 2 times in the file. 46

spring-framework/spring-web/src/test/java/org/springframework/web/util/ContentCachingRequestWrapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "first" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62

spring-framework/spring-web/src/test/java/org/springframework/web/util/HtmlCharacterEntityReferencesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "The unicode character " appears 2 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 117
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 122
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 127
 Warning extension MoveVariableInsideIf Variable 'entityName' can be moved inside the block at line '147' to restrict runtime creation. 146
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 159

spring-framework/spring-web/src/test/java/org/springframework/web/util/HtmlUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\"This is a quote'" appears 2 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "&quot;This is a quote'" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "A null string should be converted to a null string" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "An empty string should be converted to an empty string" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "A string containing no special characters should not be affected" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "A sentence containing no special characters." appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "'< >' should be encoded to '&lt; &gt;'" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "&lt; &gt;" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "< >" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "'< >' should be encoded to '< >'" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "< >" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "&thetasym;" appears 2 times in the file. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around string "UTF-8". 77
 Warning extension MultipleStringLiteralsExtended The String "This is a sentence containing no special characters." appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "&prIme;" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "&;" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "&#notADecimalNumber;" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "&#XnotAHexNumber;" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "&#x;" appears 2 times in the file. 141

spring-framework/spring-web/src/test/java/org/springframework/web/util/Log4jWebConfigurerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension MultipleStringLiteralsExtended The String "debug" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "info" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "warn" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "error" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "fatal" appears 2 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132

spring-framework/spring-web/src/test/java/org/springframework/web/util/MockLog4jAppender.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30

spring-framework/spring-web/src/test/java/org/springframework/web/util/ServletContextPropertyUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test.prop" appears 3 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "${test.prop:foo}" appears 2 times in the file. 33

spring-framework/spring-web/src/test/java/org/springframework/web/util/TagUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "page" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "session" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "request" appears 2 times in the file. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 53
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 68
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 102
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 104
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 107
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 109
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 112

spring-framework/spring-web/src/test/java/org/springframework/web/util/UriComponentsBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http" appears 23 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "example.com" appears 10 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 22 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 17 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 19 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo?bar#baz" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Invalid result URI" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "foo?bar#baz" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "mailto" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "param" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "http://www.ietf.org/rfc/rfc3986.txt" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "/rfc/rfc3986.txt" appears 2 times in the file. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension MultipleStringLiteralsExtended The String "https" appears 8 times in the file. 203
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension MultipleStringLiteralsExtended The String "localhost" appears 11 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "a=1" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "X-Forwarded-Proto" appears 4 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "X-Forwarded-Host" appears 10 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "84.198.58.199" appears 3 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "X-Forwarded-Port" appears 5 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "/rest/mobile/users/1" appears 2 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "/mvc-showcase" appears 5 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "a.example.org" appears 3 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "foobarhost" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "example.org" appears 4 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "443" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 8 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "ba/z" appears 2 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "http://www.ietf.org/rfc/rfc2396.txt" appears 2 times in the file. 512
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo?foo=bar&baz=qux" appears 2 times in the file. 527
 Warning extension MultipleStringLiteralsExtended The String "qux" appears 4 times in the file. 543
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 546
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 558
 Warning extension MultipleStringLiteralsExtended The String "fooValue" appears 2 times in the file. 580
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 583
 Warning extension MultipleStringLiteralsExtended The String "mailto:{user}@{domain}" appears 2 times in the file. 592
 Warning extension MultipleStringLiteralsExtended The String "mailto:foo@example.com" appears 2 times in the file. 593
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 595
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo?bar=baz" appears 2 times in the file. 604
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo?bar=" appears 2 times in the file. 610
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo?bar" appears 2 times in the file. 616
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/foo/../bar" appears 7 times in the file. 622
 Warning extension MultipleStringLiteralsExtended The String "/foo/../bar" appears 2 times in the file. 624
 Warning extension MultipleStringLiteralsExtended The String "../../" appears 6 times in the file. 625
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 3 times in the file. 628
 Warning extension MultipleStringLiteralsExtended The String "foo/../bar" appears 3 times in the file. 628
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/abc/" appears 4 times in the file. 635
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/abc/x/y/z" appears 3 times in the file. 635
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 636
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 636
 Warning extension MultipleStringLiteralsExtended The String "e1.com" appears 2 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String "q1" appears 2 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String "f1" appears 2 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String "e2.com" appears 2 times in the file. 654
 Warning extension MultipleStringLiteralsExtended The String "f2" appears 2 times in the file. 654

spring-framework/spring-web/src/test/java/org/springframework/web/util/UriComponentsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotel list/Z\u00fcrich" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotel%20list/Z%C3%BCrich" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "http://[1abc:2abc:3abc::5ABC:6abc]:8080/hotel%20list/Z%C3%BCrich" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "http://example.com:8080/bar" appears 5 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/bar" appears 4 times in the file. 89
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 102
 Warning extension MultipleStringLiteralsExtended The String "/{foo}" appears 6 times in the file. 104
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 107
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 112
 Warning extension MultipleStringLiteralsExtended The String "bar={baz}" appears 3 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "http:example.com/foo/bar" appears 2 times in the file. 148

spring-framework/spring-web/src/test/java/org/springframework/web/util/UriTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotels/{hotel}/bookings/{booking}" appears 8 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Invalid variable names" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "hotel" appears 6 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "booking" appears 6 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "42" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Invalid expanded template" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotels/1/bookings/42" appears 6 times in the file. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 50
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension MultipleStringLiteralsExtended The String "/order/{c}/{c}/{c}" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "c" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "cheeseburger" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "/order/cheeseburger/cheeseburger/cheeseburger" appears 2 times in the file. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension MultipleStringLiteralsExtended The String "Z\u00fcrich" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotel list/{hotel}" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/hotel%20list/Z%C3%BCrich" appears 2 times in the file. 89
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 92
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "UriTemplate does not match" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "UriTemplate matches" appears 4 times in the file. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension MultipleStringLiteralsExtended The String "Invalid match" appears 4 times in the file. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176

spring-framework/spring-web/src/test/java/org/springframework/web/util/UriUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid encoded result" appears 25 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "foobar+-." appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "foo%20bar" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foobar:" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 12 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "80" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/Z%C3%BCrich" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/Z\u00fcrich" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "foobar/+" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "T%C5%8Dky%C5%8D" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "T\u014dky\u014d" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "foobar/" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Invalid encoded URI" appears 14 times in the file. 93
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 102
 Warning extension MultipleStringLiteralsExtended The String "http://www.ietf.org/rfc/rfc3986.txt" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "https://www.ietf.org/rfc/rfc3986.txt" appears 4 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "http://www.google.com/?q=Z%C3%BCrich" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "http://www.google.com/?q=Z\u00fcrich" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "http://arjen:foobar@java.sun.com:80/javase/6/docs/api/java/util/BitSet.html?foo=bar#and(java.util.BitSet)" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "http://java.sun.com/j2se/1.3/" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "docs/guide/collections/designfaq.html#28" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "../../../demo/jfc/SwingSet2/src/SwingSet2.java" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "file:///~/calendar" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/query=foo@bar" appears 4 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "http://example.org?format=json&url=http://another.com?foo=bar" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "Invalid encoded HTTP URL" appears 7 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "http://arjen:foobar@java.sun.com:80/javase/6/docs/api/java/util/BitSet.html?foo=bar" appears 2 times in the file. 148
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 159

spring-framework/spring-web/src/test/java/org/springframework/web/util/UrlPathHelperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/petclinic" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Incorrect path returned" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/welcome.html" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/" appears 11 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "/main" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "/test_url_decoding/a%2Fb" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "/foo+bar" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "/foo;a=b;c=d" appears 4 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "jsessionid should always be removed" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 16 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "/welcome.html;c=d" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 14 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "/test/" appears 4 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "/test/foo" appears 8 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "/foo/" appears 9 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "/test/foo/" appears 8 times in the file. 192
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 270
 Warning extension MultipleStringLiteralsExtended The String "/test/foo/foo" appears 4 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "/test/foo/foo/" appears 4 times in the file. 295
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 318
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 329
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "original=on" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "forward=true" appears 3 times in the file. 379

spring-framework/spring-web/src/test/java/org/springframework/web/util/WebUtilsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension MultipleStringLiteralsExtended The String "myKey1" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "myValue1" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "index.html" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/index.html" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "view" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/products/view.html" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/products/view.html?param=a" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/products/view.html?param=/path/a" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "/products/view.html?param=/path/a.do" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "view.html" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "year" appears 5 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "2012" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "red" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "green" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "colors" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "mydomain1.com" appears 8 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain1.com" appears 4 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "https://mydomain1.com" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain2.com" appears 2 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension MultipleStringLiteralsExtended The String "invalid-origin" appears 2 times in the file. 145
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension MultipleStringLiteralsExtended The String "mydomain2.com" appears 2 times in the file. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/DispatcherPortlet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 211
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 224
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "': using default" appears 4 times in the file. 418
 Warning extension ReturnCountExtended Return count for 'getDefaultStrategies' method is 2 (max allowed is 1). 568
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 573
 Warning extension MultipleStringLiteralsExtended The String "] for interface [" appears 2 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "DispatcherPortlet with name '" appears 4 times in the file. 634
 Warning extension MultipleStringLiteralsExtended The String "' received action request" appears 2 times in the file. 634
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 683
 Warning extension MultipleStringLiteralsExtended The String "Error occured during request processing: " appears 4 times in the file. 692
 Warning extension LogicConditionNeedOptimization Condition with && at line 700 position 58 need optimization. All method calls are advised to move to end of logic expression. 700
 Warning extension MultipleStringLiteralsExtended The String "ModelAndViewDefiningException encountered" appears 2 times in the file. 775
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 778
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 779
 Warning extension MultipleStringLiteralsExtended The String "Null ModelAndView returned to DispatcherPortlet with name '" appears 2 times in the file. 789
 Warning extension MultipleStringLiteralsExtended The String "': assuming HandlerAdapter completed request handling" appears 2 times in the file. 790
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 869
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 870
 Warning extension AvoidHidingCauseException Cause exception 'ex2' was lost. 961
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 1007
 Warning extension MultipleStringLiteralsExtended The String "HandlerExceptionResolver returned ModelAndView [" appears 2 times in the file. 1220
 Warning extension MultipleStringLiteralsExtended The String "] for exception" appears 2 times in the file. 1220
 Warning extension MultipleStringLiteralsExtended The String "Handler execution resulted in exception - forwarding to resolved error view" appears 2 times in the file. 1222
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1283
 Warning extension MultipleStringLiteralsExtended The String "HandlerInterceptor.afterCompletion threw exception" appears 4 times in the file. 1284
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1313
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1343
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1373

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/FrameworkPortlet.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "FrameworkPortlet '" appears 2 times in the file. 266
 Warning extension MoveVariableInsideIf Variable 'startTime' can be moved inside the block at line '283' to restrict runtime creation. 268
 Warning extension MultipleStringLiteralsExtended The String "Context initialization failed" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 311
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 556
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 584
 Warning extension ReturnCountExtended Return count for 'getUsernameForRequest' method is 3 (max allowed is 1). 613
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 629

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/GenericPortletBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/ModelAndView.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 154
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 181
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 190
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 197
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 274
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 285

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/bind/PortletRequestParameterPropertyValues.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 79

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/bind/PortletRequestUtils.java

Severity Category Rule Message Line
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 375
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 377
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 477
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 666

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/AbstractRefreshablePortletApplicationContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletApplicationContextUtils.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 156
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 176

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletContextResource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 210

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletContextResourcePatternResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 107

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletContextScope.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletRequestAttributes.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension ReturnCountExtended Return count for 'getAttribute' method is 4 (max allowed is 1). 124
 Warning extension ReturnCountExtended Return count for 'getAttributeNames' method is 4 (max allowed is 1). 202

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletRequestHandledEvent.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "portlet=[" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "]; " appears 4 times in the file. 113

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletWebRequest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 89

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/StaticPortletApplicationContext.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "StaticPortletApplicationContext does not support config locations" appears 2 times in the file. 150
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 167

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/AbstractHandlerExceptionResolver.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 163 position 61 need optimization. All method calls are advised to move to end of logic expression. 163
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/AbstractHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/AbstractMapBasedHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension ReturnCountExtended Return count for 'getHandlerInternal' method is 3 (max allowed is 1). 70
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/ParameterMappingInterceptor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 60

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/PortletModeHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/PortletModeParameterHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/PortletModeParameterLookupKey.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/SimpleMappingExceptionResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "' for exception of type [" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 141

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/SimplePortletHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/SimplePortletPostProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 176
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 206

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/WebRequestHandlerInterceptorAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 130

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/multipart/CommonsPortletMultipartResolver.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CommonsPortletMultipartResolver' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 73
 Warning extension OverridableMethodInConstructor Overridable method 'setPortletContext' is called in constructor body. 83
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 119
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/multipart/DefaultMultipartActionRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/AbstractController.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'handleRenderRequest' method is 2 (max allowed is 1). 204
 Warning extension LogicConditionNeedOptimization Condition with && at line 206 position 61 need optimization. All method calls are advised to move to end of logic expression. 206
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 239

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/PortletWrappingController.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension ReturnCountExtended Return count for 'handleResourceRequest' method is 2 (max allowed is 1). 193
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 286
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 316

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/SimpleControllerHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 60

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/annotation/AnnotationMethodHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 245
 Warning extension ReturnCountExtended Return count for 'doHandle' method is 2 (max allowed is 1). 314
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 373
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 440
 Warning extension ReturnCountExtended Return count for 'isHandlerMethod' method is 2 (max allowed is 1). 447
 Warning extension ReturnCountExtended Return count for 'resolveHandlerMethod' method is 2 (max allowed is 1). 483
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 484
 Warning extension ReturnCountExtended Return count for 'determineDefaultPhase' method is 3 (max allowed is 1). 521
 Warning extension ReturnCountExtended Return count for 'resolveStandardArgument' method is 4 (max allowed is 1). 611
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 622
 Warning extension ReturnCountExtended Return count for 'getModelAndView' method is 4 (max allowed is 1). 689
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 697
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 711
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 754
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 760
 Warning extension ReturnCountExtended Return count for 'match' method is 4 (max allowed is 1). 787
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 821
 Warning extension LogicConditionNeedOptimization Condition with || at line 824 position 58 need optimization. All method calls are advised to move to end of logic expression. 824
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 831
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 841

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 93
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension ReturnCountExtended Return count for 'findBestExceptionHandlerMethod' method is 2 (max allowed is 1). 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 179
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 223
 Warning extension MoveVariableInsideIf Variable 'paramType' can be moved inside the block at line '243' to restrict runtime creation. 238
 Warning extension ReturnCountExtended Return count for 'resolveCommonArgument' method is 2 (max allowed is 1). 260
 Warning extension ReturnCountExtended Return count for 'resolveStandardArgument' method is 4 (max allowed is 1). 294

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/annotation/DefaultAnnotationHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 255
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 287
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 304
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 320
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 338
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 339
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 359
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 364
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 380
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 381
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 382
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 383
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 407
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 421
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 449
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 462

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/annotation/PortletAnnotationMappingUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "!" appears 2 times in the file. 110
 Warning extension LogicConditionNeedOptimization Condition with && at line 157 position 87 need optimization. All method calls are advised to move to end of logic expression. 157
 Warning extension LogicConditionNeedOptimization Condition with && at line 159 position 90 need optimization. All method calls are advised to move to end of logic expression. 159

spring-framework/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/util/PortletUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "PortletContext must not be null" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Request must not be null" appears 6 times in the file. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121
 Warning extension MultipleStringLiteralsExtended The String "Session must not be null" appears 2 times in the file. 227
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 235
 Warning extension MultipleStringLiteralsExtended The String "] for session attribute '" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "': " appears 2 times in the file. 237
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 240
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 415
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 535

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/context/ACATester.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 45

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/context/BeanThatBroadcasts.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "listener" appears 2 times in the file. 32

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockActionRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 40
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 59

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockActionResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockActionResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension MultipleStringLiteralsExtended The String "Cannot set render parameters after sendRedirect has been called" appears 3 times in the file. 83

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockBaseURL.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "Parameter key must be null" appears 2 times in the file. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 140
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 150

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockCacheControl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 31

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockClientDataRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockClientDataRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockEventRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockEventRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockMimeResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockMimeResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 133
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 182

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockMultipartActionRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortalContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletConfig.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 94
 Warning extension MultipleStringLiteralsExtended The String "Locale must not be null" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 121

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 104
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 120
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 191
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 200
 Warning extension MultipleStringLiteralsExtended The String "Parameter name must not be null" appears 2 times in the file. 242

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletPreferences.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "Key must not be null" appears 6 times in the file. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76
 Warning extension MultipleStringLiteralsExtended The String "Preference '" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "' is read-only" appears 2 times in the file. 88

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 98
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 126
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 127
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 217
 Warning extension MultipleStringLiteralsExtended The String "Property key must not be null" appears 3 times in the file. 247
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 248
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 265
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 275
 Warning extension MultipleStringLiteralsExtended The String "Parameter key must be null" appears 2 times in the file. 358
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 389
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 436
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 532
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 548

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletRequestDispatcher.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Request must not be null" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Response must not be null" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "MockPortletRequestDispatcher requires MockMimeResponse" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 70

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 72
 Warning extension MultipleStringLiteralsExtended The String "Property key must not be null" appears 7 times in the file. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 181
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 196

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '150' to restrict runtime creation. 147
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 167

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockPortletURL.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ";" appears 3 times in the file. 109

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockRenderRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 41
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 61

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockRenderResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRenderResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 44

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockResourceRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockResourceRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 49
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockResourceRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 58
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockResourceRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 68

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockResourceURL.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ";" appears 2 times in the file. 64

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/mock/web/portlet/MockStateAwareResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 50
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockStateAwareResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 58
 Warning extension MultipleStringLiteralsExtended The String "Parameter key must not be null" appears 4 times in the file. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/ComplexPortletApplicationContext.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "viewController" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "editController" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "helpController1" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "helpController2" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "testController1" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "testController2" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "requestLocaleCheckingController" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "localeContextCheckingController" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "exceptionThrowingHandler1" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "exceptionThrowingHandler2" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "unknownHandler" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "myPortlet" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "interceptingParam" appears 2 times in the file. 117
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 136
 Warning extension MultipleStringLiteralsExtended The String "order" appears 4 times in the file. 147
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "exceptionMappings" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "defaultErrorView" appears 2 times in the file. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 174
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "result" appears 4 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "param" appears 4 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "locale-ok" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "Incorrect Locale in LocaleContextHolder" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "fail" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "test2-remove-never" appears 3 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "Wrong interceptor order" appears 6 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "test1-remove-never" appears 2 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "test1-remove-post" appears 7 times in the file. 414
 Warning extension MultipleStringLiteralsExtended The String "test1-remove-after" appears 4 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "test2-remove-post" appears 6 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "Incorrect request attribute" appears 2 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "test2-remove-after" appears 4 times in the file. 436
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "resolved" appears 2 times in the file. 515
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 519
 Warning extension MultipleStringLiteralsExtended The String "someFile" appears 2 times in the file. 520
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 521
 Warning extension MultipleStringLiteralsExtended The String "someParam" appears 2 times in the file. 522
 Warning extension MultipleStringLiteralsExtended The String "cleanedUp" appears 2 times in the file. 528

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/DispatcherPortletTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "complex" appears 7 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "publishContext" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "false" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "action" appears 11 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "param" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "help3" appears 2 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "exception" appears 6 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "failed-unavailable" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "role1" appears 8 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "not mapped" appears 10 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "myParam" appears 27 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "role3" appears 2 times in the file. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension MultipleStringLiteralsExtended The String "view was here" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "result" appears 5 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "someViewName" appears 2 times in the file. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension MultipleStringLiteralsExtended The String "failed-default-1" appears 7 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 5 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "unknown" appears 4 times in the file. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension MultipleStringLiteralsExtended The String "No adapter for handler" appears 2 times in the file. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension MultipleStringLiteralsExtended The String "fail" appears 3 times in the file. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension MultipleStringLiteralsExtended The String "testListener" appears 3 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "requestLocaleChecker" appears 2 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "locale-ok" appears 2 times in the file. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension MultipleStringLiteralsExtended The String "contextLocaleChecker" appears 2 times in the file. 347
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 361
 Warning extension MultipleStringLiteralsExtended The String "abort" appears 2 times in the file. 372
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 374
 Warning extension MultipleStringLiteralsExtended The String "test1-remove-never" appears 2 times in the file. 374
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375
 Warning extension MultipleStringLiteralsExtended The String "test1-remove-post" appears 2 times in the file. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 376
 Warning extension MultipleStringLiteralsExtended The String "test1-remove-after" appears 2 times in the file. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension MultipleStringLiteralsExtended The String "test2-remove-never" appears 2 times in the file. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension MultipleStringLiteralsExtended The String "test2-remove-post" appears 2 times in the file. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension MultipleStringLiteralsExtended The String "test2-remove-after" appears 2 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "true" appears 4 times in the file. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension MultipleStringLiteralsExtended The String "noView" appears 2 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "interceptingParam" appears 3 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "incorrect" appears 2 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "myPortlet" appears 4 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "exception1" appears 6 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "failed-modelandview" appears 2 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "exception2" appears 6 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "access" appears 2 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "illegal" appears 2 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "failed-exception" appears 3 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "binding" appears 2 times in the file. 524
 Warning extension MultipleStringLiteralsExtended The String "should fail" appears 2 times in the file. 524
 Warning extension MultipleStringLiteralsExtended The String "failed-runtime" appears 2 times in the file. 550
 Warning extension MultipleStringLiteralsExtended The String "generic" appears 2 times in the file. 568
 Warning extension MultipleStringLiteralsExtended The String "123" appears 2 times in the file. 568
 Warning extension MultipleStringLiteralsExtended The String "runtime" appears 2 times in the file. 590
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/web/portlet/context" appears 2 times in the file. 647
 Warning extension MultipleStringLiteralsExtended The String "empty" appears 2 times in the file. 650
 Warning extension MultipleStringLiteralsExtended The String "portletContextAwareBean" appears 4 times in the file. 652
 Warning extension MultipleStringLiteralsExtended The String "portletConfigAwareBean" appears 4 times in the file. 654
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 668
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 669
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 671
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 698
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 699
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 701

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/GenericPortletBeanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testValue" appears 6 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "testParam" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "anotherParam" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "unknownParam" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "unknownValue" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "should have thrown PortletException" appears 3 times in the file. 109

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/bind/PortletRequestDataBinderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "age" appears 8 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "35" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "test1,test2" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 5 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 5 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "val1" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "val2" appears 2 times in the file. 156
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension MultipleStringLiteralsExtended The String "06-03-2006" appears 2 times in the file. 198

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/bind/PortletRequestParameterPropertyValuesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "test_param" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension MultipleStringLiteralsExtended The String "test.param" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test_another" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "some.other" appears 2 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/bind/PortletRequestUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 24 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 38 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "e" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "paramEmpty" appears 13 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown PortletRequestBindingException" appears 18 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "param3" appears 18 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "param" appears 10 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "5.5" appears 2 times in the file. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension MultipleStringLiteralsExtended The String "1.5" appears 4 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "2.5" appears 2 times in the file. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "param4" appears 3 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "param5" appears 3 times in the file. 304
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 307
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 325
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 327
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 328
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 329
 Warning extension MultipleStringLiteralsExtended The String "str" appears 4 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 363
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 386
 Warning extension MultipleStringLiteralsExtended The String "nonExistingParam" appears 6 times in the file. 387
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 399
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 412
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 425
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 438
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 451

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/AbstractXmlWebApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Bean from root context" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Custom BeanPostProcessor applied" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "myFriend" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 97

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/PortletApplicationContextScopeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/PortletContextAwareProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 12 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "PortletContext should have been set" appears 5 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "PortletConfig should have been set" appears 3 times in the file. 110

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/PortletRequestAttributesTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/PortletWebRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 9 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value2a" appears 3 times in the file. 48

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/context/XmlPortletApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myFriend" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/web/portlet/context/WEB-INF/test-portlet.xml" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "someMessage" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "Bean from root context" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Custom BeanPostProcessor applied" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 113

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/handler/ParameterHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handlerMapping" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "action" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "add" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "addItemHandler" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "modify" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "someParam" appears 2 times in the file. 84

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/handler/ParameterMappingInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 4 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "myParam" appears 4 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/handler/PortletModeHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handlerMapping" appears 4 times in the file. 48

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/handler/PortletModeParameterHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handlerMapping" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "action" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "remove" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 2 times in the file. 80

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/handler/SimpleMappingExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Handler not mapped - ModelAndView should be null" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Exception" appears 5 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "error" appears 20 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "HANDLER_EXCEPTION" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Exception" appears 8 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "AnotherException" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "another-error" appears 7 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "SomeOddException" appears 5 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "another-some-error" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "parent-error" appears 3 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "child-error" appears 2 times in the file. 239

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/handler/UserRoleAuthorizationInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "allowed" appears 3 times in the file. 33
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension MultipleStringLiteralsExtended The String "someOtherRole" appears 2 times in the file. 53
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "should have thrown PortletSecurityException" appears 3 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/mvc/PortletWrappingControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "wrappedPortlet" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "myPortlet-action" appears 2 times in the file. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 91
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 105
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 112

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/mvc/annotation/AnnotationMethodHandlerExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No ModelAndView returned" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Invalid view name returned" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "GenericError" appears 2 times in the file. 100
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 103

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/mvc/annotation/Portlet20AnnotationControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "controller" appears 13 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "/resource1" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "404" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 4 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "age" appears 15 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 10 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 5 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "10" appears 4 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "myView-name1-typeMismatch-tb1-myValue" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "webBindingInitializer" appears 2 times in the file. 279
 Warning extension MultipleStringLiteralsExtended The String "handlerAdapter" appears 3 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "defaultName" appears 6 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "myDefaultName" appears 4 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "date" appears 7 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "2007-10-02" appears 6 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "myView-String:myDefaultName-typeMismatch-tb1-myOriginalValue" appears 3 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "controller2" appears 4 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "myParam" appears 9 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 11 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "myView" appears 12 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "view" appears 4 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "myOtherView" appears 4 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "my" appears 2 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "lang" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "de" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "myLangView" appears 3 times in the file. 435
 Warning extension MultipleStringLiteralsExtended The String "surprise" appears 2 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "!" appears 2 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "mySurpriseView" appears 3 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "myDefaultView" appears 2 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "mySpecialView" appears 2 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "myOtherSpecialView" appears 2 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "this" appears 2 times in the file. 554
 Warning extension MultipleStringLiteralsExtended The String "myLargeView-value" appears 2 times in the file. 562
 Warning extension MultipleStringLiteralsExtended The String "myLargeView-value3" appears 3 times in the file. 582
 Warning extension MultipleStringLiteralsExtended The String "XXX" appears 2 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "event1" appears 2 times in the file. 595
 Warning extension MultipleStringLiteralsExtended The String "myLargeView-value4" appears 2 times in the file. 613
 Warning extension MultipleStringLiteralsExtended The String "resource1" appears 2 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "myResource" appears 3 times in the file. 624
 Warning extension MultipleStringLiteralsExtended The String "resource2" appears 2 times in the file. 626
 Warning extension MultipleStringLiteralsExtended The String "myDefaultResource" appears 3 times in the file. 629
 Warning extension MultipleStringLiteralsExtended The String "details" appears 2 times in the file. 667
 Warning extension MultipleStringLiteralsExtended The String "renderFirst" appears 3 times in the file. 745
 Warning extension MultipleStringLiteralsExtended The String "RESPONSE" appears 12 times in the file. 745
 Warning extension MultipleStringLiteralsExtended The String "report" appears 2 times in the file. 749
 Warning extension MultipleStringLiteralsExtended The String "second" appears 2 times in the file. 749
 Warning extension MultipleStringLiteralsExtended The String "renderSecond" appears 3 times in the file. 751
 Warning extension MultipleStringLiteralsExtended The String "third" appears 2 times in the file. 755
 Warning extension MultipleStringLiteralsExtended The String "renderThird" appears 3 times in the file. 757
 Warning extension MultipleStringLiteralsExtended The String "resourceFirst" appears 3 times in the file. 765
 Warning extension MultipleStringLiteralsExtended The String "resourceSecond" appears 3 times in the file. 770
 Warning extension MultipleStringLiteralsExtended The String "resourceThird" appears 3 times in the file. 775
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 12 times in the file. 808
 Warning extension MultipleStringLiteralsExtended The String "-" appears 24 times in the file. 808
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 914
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 926
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 2 times in the file. 927
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 2 times in the file. 928
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 10 times in the file. 935
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 948
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 990
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 3 times in the file. 1039
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 1183
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 2 times in the file. 1188
 Warning extension MultipleStringLiteralsExtended The String "myCommand" appears 2 times in the file. 1244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1247

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/mvc/annotation/PortletAnnotationControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "controller" appears 11 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 4 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "age" appears 14 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 9 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "myView-name1-typeMismatch-tb1-myValue" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "webBindingInitializer" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "handlerAdapter" appears 3 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "defaultName" appears 6 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "myDefaultName" appears 4 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "date" appears 7 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "2007-10-02" appears 6 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "myView-String:myDefaultName-typeMismatch-tb1-myOriginalValue" appears 3 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "controller2" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "myParam" appears 9 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 12 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "10" appears 3 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "myView" appears 7 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "view" appears 4 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "myOtherView" appears 4 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "my" appears 2 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "lang" appears 2 times in the file. 360
 Warning extension MultipleStringLiteralsExtended The String "de" appears 2 times in the file. 360
 Warning extension MultipleStringLiteralsExtended The String "myLangView" appears 3 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "surprise" appears 2 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "!" appears 2 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "mySurpriseView" appears 3 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "myDefaultView" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "mySpecialView" appears 2 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "myOtherSpecialView" appears 2 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 9 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "-" appears 13 times in the file. 502
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 573
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 2 times in the file. 574
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 2 times in the file. 575
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 10 times in the file. 581
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 594
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 633
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 3 times in the file. 681
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 800
 Warning extension MultipleStringLiteralsExtended The String "myCommand" appears 2 times in the file. 802
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 805

spring-framework/spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/util/PortletUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 48
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 82
 Warning extension MultipleStringLiteralsExtended The String "William" appears 20 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Baskerville" appears 16 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Adso" appears 19 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Melk" appears 15 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "francisan_" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "dominican_Bernard" appears 8 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Gui" appears 6 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "PortletUtils.getParametersStartingWith(..) must never return a null Map" appears 5 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "Obviously not finding all of the correct parameters" appears 14 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "Obviously not finding all of the correct parameters (is returning a parameter whose name does not start with the desired prefix" appears 2 times in the file. 116
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 126
 Warning extension MultipleStringLiteralsExtended The String "Bill" appears 2 times in the file. 203
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 287
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 294
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 299
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 307
 Warning extension MultipleStringLiteralsExtended The String "ace" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "Rick Hunter" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "mentor" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "Roy Fokker" appears 2 times in the file. 309
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 318
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 322
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 5 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "donna" appears 2 times in the file. 331
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 344
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 349
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 354
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 359
 Warning extension MultipleStringLiteralsExtended The String "PortletUtils.getSessionMutex(..) must never return a null mutex" appears 2 times in the file. 368
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 384
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 28 times in the file. 386
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 389
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 394
 Warning extension MultipleStringLiteralsExtended The String "Must not return null if session attribute exists (and Session exists)" appears 4 times in the file. 417
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 443

spring-framework/spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/SimpleSpringPreparerFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

spring-framework/spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/TilesConfigurer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 116
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 292
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 309
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 343
 Warning extension ReturnCountExtended Return count for 'createDefinitionsFactory' method is 2 (max allowed is 1). 351
 Warning extension MultipleStringLiteralsExtended The String "localeResolver" appears 2 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "definitionDAO" appears 2 times in the file. 362

spring-framework/spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/TilesView.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/DispatcherServlet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 269
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 282
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DispatcherServlet' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 349
 Warning extension MultipleStringLiteralsExtended The String "]" appears 13 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "': using default [" appears 4 times in the file. 529
 Warning extension MultipleStringLiteralsExtended The String "': using default" appears 4 times in the file. 590
 Warning extension ReturnCountExtended Return count for 'getDefaultStrategies' method is 2 (max allowed is 1). 809
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 814
 Warning extension MultipleStringLiteralsExtended The String "] for interface [" appears 2 times in the file. 824
 Warning extension MultipleStringLiteralsExtended The String "'" appears 7 times in the file. 861
 Warning extension MultipleStringLiteralsExtended The String "org.springframework.web.servlet" appears 2 times in the file. 873
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 929
 Warning extension LogicConditionNeedOptimization Condition with && at line 949 position 81 need optimization. All method calls are advised to move to end of logic expression. 949
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 968
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 973
 Warning extension IllegalCatchExtended Catching 'Error' is not allowed. 976
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1019
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1021
 Warning extension MultipleStringLiteralsExtended The String "] in DispatcherServlet with name '" appears 4 times in the file. 1118
 Warning extension ReturnCountExtended Return count for 'processHandlerException' method is 2 (max allowed is 1). 1177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1319

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/FlashMap.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 136
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 137
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 138
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 155

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/FrameworkServlet.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 345
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "FrameworkServlet '" appears 2 times in the file. 484
 Warning extension MoveVariableInsideIf Variable 'startTime' can be moved inside the block at line '501' to restrict runtime creation. 486
 Warning extension MultipleStringLiteralsExtended The String "Context initialization failed" appears 2 times in the file. 493
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 564
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 745
 Warning extension LogicConditionNeedOptimization Condition with && at line 823 position 75 need optimization. All method calls are advised to move to end of logic expression. 823
 Warning extension MultipleStringLiteralsExtended The String "Allow" appears 2 times in the file. 905
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 976
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 1068
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1088

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerExecutionChain.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 191

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/HttpServletBean.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 172

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/ModelAndView.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 156
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 172
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 189
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 273
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 284

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/ResourceServlet.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to include content of resource [" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 318

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/ViewRendererServlet.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 94

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "order" appears 4 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "contentNegotiationManager" appears 3 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "enable-matrix-variables" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "removeSemicolonContent" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "enableMatrixVariables" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "conversionService" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "validator" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "messageConverters" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "ignore-default-model-on-redirect" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "ignoreDefaultModelOnRedirect" appears 4 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "conversion-service" appears 2 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "content-negotiation-manager" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "suffix-pattern" appears 2 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "trailing-slash" appears 2 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "registered-suffixes-only" appears 2 times in the file. 384
 Warning extension MultipleStringLiteralsExtended The String "path-helper" appears 2 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "path-matcher" appears 2 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "message-codes-resolver" appears 2 times in the file. 420
 Warning extension MultipleStringLiteralsExtended The String "async-support" appears 4 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "task-executor" appears 2 times in the file. 436
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 6 times in the file. 450
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 487
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 507
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 3 times in the file. 515
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 579
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 589
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 597

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/DefaultServletHandlerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/FreeMarkerConfigurerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/GroovyMarkupConfigurerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 49

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/InterceptorsBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "path-matcher" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "interceptor" appears 2 times in the file. 53
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/ResourcesBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 2 times in the file. 273

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/TilesConfigurerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "definitions" appears 2 times in the file. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension MultipleStringLiteralsExtended The String "check-refresh" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "validate-definitions" appears 2 times in the file. 70

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/VelocityConfigurerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "resourceLoaderPath" appears 2 times in the file. 55

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/ViewControllerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "status-code" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "view-name" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "statusCode" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "urlMap" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "context-relative" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "contextRelative" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "keep-query-params" appears 2 times in the file. 146

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/ViewResolversBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension MultipleStringLiteralsExtended The String "jsp" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "tiles" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "bean-name" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "freemarker" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "velocity" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "groovy" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 4 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "suffix" appears 7 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "viewResolvers" appears 3 times in the file. 129
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension MultipleStringLiteralsExtended The String "order" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "cache-views" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "view-class" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "view-names" appears 2 times in the file. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension MultipleStringLiteralsExtended The String "use-not-acceptable" appears 2 times in the file. 185

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/AsyncSupportConfigurer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String "Interceptors are required" appears 2 times in the file. 89

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ContentNegotiationConfigurer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DefaultServletHandlerConfigurer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/InterceptorRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/InterceptorRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/RedirectViewControllerRegistration.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 89

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ResourceChainRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ResourceHandlerRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ResourceHandlerRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 119

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewControllerRegistration.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 73

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewControllerRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 41
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewResolverRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension MultipleStringLiteralsExtended The String "This bean may be given any name." appears 3 times in the file. 194
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 283

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 309
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 317
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 349
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 452
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 455
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 466
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 746
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 788

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerComposite.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 171

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractDetectingUrlHandlerMapping.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 80

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerExceptionResolver.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171
 Warning extension MultipleStringLiteralsExtended The String "no-cache" appears 2 times in the file. 222

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 70
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 278
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 287
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 347

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMethodMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 137
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 163
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 305
 Warning extension ReturnCountExtended Return count for 'lookupHandlerMethod' method is 2 (max allowed is 1). 317
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 318

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 126
 Warning extension ReturnCountExtended Return count for 'lookupHandler' method is 3 (max allowed is 1). 144
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 157
 Warning extension MultipleStringLiteralsExtended The String "] are " appears 2 times in the file. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 184
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 321

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/BeanNameUrlHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 59

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerExceptionResolverComposite.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 52

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/MappedInterceptor.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 114

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/SimpleMappingExceptionResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension MultipleStringLiteralsExtended The String "' for exception of type [" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 220

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/SimpleServletHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 122

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/WebRequestHandlerInterceptorAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 65

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/i18n/AbstractLocaleContextResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 66

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/i18n/CookieLocaleResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".LOCALE" appears 2 times in the file. 65
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 164
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 176
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 182
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 200
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 202

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/AbstractUrlViewController.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'lookupPath' can be moved inside the block at line '105' to restrict runtime creation. 103

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/HttpRequestHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 44

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ParameterizableViewController.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 60
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78
 Warning extension ReturnCountExtended Return count for 'handleRequestInternal' method is 2 (max allowed is 1). 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 139
 Warning extension MultipleStringLiteralsExtended The String "redirect:" appears 2 times in the file. 139
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ServletForwardingController.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] in ServletForwardingController '" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 124
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 152

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/SimpleControllerHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 43

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/UrlFilenameViewController.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 141
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 143

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/WebContentInterceptor.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 146

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 191
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension ReturnCountExtended Return count for 'handle' method is 2 (max allowed is 1). 403
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 409
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 449
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 533
 Warning extension ReturnCountExtended Return count for 'isHandlerMethod' method is 2 (max allowed is 1). 540
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 569
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 570
 Warning extension MultipleStringLiteralsExtended The String "/" appears 8 times in the file. 577
 Warning extension LogicConditionNeedOptimization Condition with && at line 621 position 88 need optimization. All method calls are advised to move to end of logic expression. 621
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 664
 Warning extension ReturnCountExtended Return count for 'getCombinedPattern' method is 4 (max allowed is 1). 707
 Warning extension ReturnCountExtended Return count for 'getMatchingPattern' method is 4 (max allowed is 1). 734
 Warning extension ReturnCountExtended Return count for 'resolveStandardArgument' method is 4 (max allowed is 1). 866
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 875
 Warning extension ReturnCountExtended Return count for 'getModelAndView' method is 4 (max allowed is 1). 915
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 922
 Warning extension MoveVariableInsideIf Variable 'inputMessage' can be moved inside the block at line '1,020' to restrict runtime creation. 1010
 Warning extension MoveVariableInsideIf Variable 'returnValueType' can be moved inside the block at line '1,040' to restrict runtime creation. 1038
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1039
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1171
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1190
 Warning extension ReturnCountExtended Return count for 'compare' method is 7 (max allowed is 1). 1221
 Warning extension MoveVariableInsideIf Variable 'value' can be moved inside the block at line '1,290' to restrict runtime creation. 1289

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 110
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 147
 Warning extension ReturnCountExtended Return count for 'findBestExceptionHandlerMethod' method is 2 (max allowed is 1). 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 221
 Warning extension MoveVariableInsideIf Variable 'paramType' can be moved inside the block at line '268' to restrict runtime creation. 263
 Warning extension ReturnCountExtended Return count for 'resolveCommonArgument' method is 2 (max allowed is 1). 284
 Warning extension ReturnCountExtended Return count for 'resolveStandardArgument' method is 4 (max allowed is 1). 319
 Warning extension ReturnCountExtended Return count for 'getModelAndView' method is 4 (max allowed is 1). 377
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 384
 Warning extension MoveVariableInsideIf Variable 'outputMessage' can be moved inside the block at line '431' to restrict runtime creation. 429

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/DefaultAnnotationHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension ReturnCountExtended Return count for 'determineUrlsForHandler' method is 4 (max allowed is 1). 113
 Warning extension MoveVariableInsideIf Variable 'urls' can be moved inside the block at line '122' to restrict runtime creation. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 120
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 126
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 156
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 174
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 209

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/ResponseStatusExceptionResolver.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 60
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 87

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/ServletAnnotationMappingUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "!" appears 2 times in the file. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 116
 Warning extension LogicConditionNeedOptimization Condition with && at line 123 position 87 need optimization. All method calls are advised to move to end of logic expression. 123
 Warning extension LogicConditionNeedOptimization Condition with && at line 126 position 27 need optimization. All method calls are advised to move to end of logic expression. 126

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/AbstractMediaTypeExpression.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 94 position 51 need optimization. All method calls are advised to move to end of logic expression. 94

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/AbstractNameValueExpression.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'parseValue' is called in constructor body. 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 95
 Warning extension LogicConditionNeedOptimization Condition with && at line 96 position 81 need optimization. All method calls are advised to move to end of logic expression. 96

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/CompositeRequestCondition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestCondition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 166
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 226

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/HeadersRequestCondition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/ParamsRequestCondition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/PatternsRequestCondition.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 122
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 129
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 176
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 228
 Warning extension ReturnCountExtended Return count for 'getMatchingPattern' method is 4 (max allowed is 1). 239
 Warning extension MultipleStringLiteralsExtended The String ".*" appears 2 times in the file. 253

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/ProducesRequestCondition.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension ReturnCountExtended Return count for 'compareTo' method is 3 (max allowed is 1). 210
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 281

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/RequestConditionHolder.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 114

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/RequestMethodsRequestCondition.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 134

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/AbstractHandlerMethodAdapter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 68

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfo.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 76
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 191
 Warning extension ReturnCountExtended Return count for 'getMatchingCondition' method is 4 (max allowed is 1). 203
 Warning extension ReturnCountExtended Return count for 'compareTo' method is 7 (max allowed is 1). 236
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 275
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 288

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension ReturnCountExtended Return count for 'handleNoMatch' method is 2 (max allowed is 1). 177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 182
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 183
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 228
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 236
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 246
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 256
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 269
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 276

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMappingJacksonResponseBodyAdvice.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension ReturnCountExtended Return count for 'readWithMessageConverters' method is 2 (max allowed is 1). 120
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 128
 Warning extension MultipleStringLiteralsExtended The String "Reading [" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "] as \"" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "\" using [" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 187
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 204

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 217
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 226

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 291
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 310
 Warning extension ReturnCountExtended Return count for 'doResolveHandlerMethodException' method is 3 (max allowed is 1). 344
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 364
 Warning extension ReturnCountExtended Return count for 'getExceptionHandlerMethod' method is 3 (max allowed is 1). 394
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 395

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80
 Warning extension MultipleStringLiteralsExtended The String "' in method " appears 2 times in the file. 109

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/JsonViewResponseBodyAdvice.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 49

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ListenableFutureReturnValueHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MatrixVariableMapMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveArgument' method is 3 (max allowed is 1). 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MatrixVariableMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveName' method is 4 (max allowed is 1). 69

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'controllerType' must not be null" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String ", using first one" appears 2 times in the file. 135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 323
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 489

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/PathVariableMapMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 48
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 64

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/PathVariableMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 133

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 134
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 162
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 220
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 241
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 523
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 552
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 597
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 628
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 657
 Warning extension ReturnCountExtended Return count for 'handleInternal' method is 2 (max allowed is 1). 682
 Warning extension ReturnCountExtended Return count for 'invokeHandleMethod' method is 2 (max allowed is 1). 742
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 805
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 837
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 900
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 911
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 915

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestPartMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "javax.servlet.http.Part" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Expected MultipartHttpServletRequest: is a MultipartResolver configured?" appears 3 times in the file. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 185
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension ReturnCountExtended Return count for 'readWithMessageConverters' method is 4 (max allowed is 1). 114

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(protected)'. 80
 Warning extension ReturnCountExtended Return count for 'handleException' method is 3 (max allowed is 1). 110

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 167
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 173
 Warning extension OverridableMethodInConstructor Overridable method 'setHandlerMethodReturnValueHandlers' is called in constructor body. 213
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 263

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletModelAttributeMethodProcessor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 109

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletRequestMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 67
 Warning extension MultipleStringLiteralsExtended The String "java.time.ZoneId" appears 2 times in the file. 74
 Warning extension ReturnCountExtended Return count for 'resolveArgument' method is 3 (max allowed is 1). 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 139

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletResponseMethodArgumentResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 48
 Warning extension ReturnCountExtended Return count for 'resolveArgument' method is 3 (max allowed is 1). 60

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ViewNameMethodReturnValueHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 71

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/multiaction/InternalPathMethodNameResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/multiaction/MultiActionController.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 171
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 208
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 294
 Warning extension LogicConditionNeedOptimization Condition with && at line 297 position 48 need optimization. All method calls are advised to move to end of logic expression. 297
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 306
 Warning extension ReturnCountExtended Return count for 'getLastModified' method is 2 (max allowed is 1). 368
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 376
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 378
 Warning extension ReturnCountExtended Return count for 'invokeNamedMethod' method is 3 (max allowed is 1). 441
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 451
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 479
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 645

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/multiaction/ParameterMethodNameResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Determined handler method '" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 184
 Warning extension MoveVariableInsideIf Variable 'originalName' can be moved inside the block at line '193' to restrict runtime creation. 191

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/AbstractControllerUrlHandlerMapping.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 48
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 89
 Warning extension ReturnCountExtended Return count for 'isEligibleForMapping' method is 4 (max allowed is 1). 101
 Warning extension MultipleStringLiteralsExtended The String "Excluding controller bean '" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "' from class name mapping " appears 3 times in the file. 104

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/AnnotationControllerTypePredicate.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 39

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/ControllerBeanNameHandlerMapping.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 82
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 82

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/ControllerClassNameHandlerMapping.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 139

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doResolveException' method is 2 (max allowed is 1). 102
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 155

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/AbstractResourceResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 44

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/AbstractVersionStrategy.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 103
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "-" appears 4 times in the file. 121

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/AppCacheManifestTransformer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension ReturnCountExtended Return count for 'transform' method is 3 (max allowed is 1). 96
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 3 times in the file. 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 195
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 199

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/CachingResourceResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveResourceInternal' method is 2 (max allowed is 1). 61
 Warning extension MultipleStringLiteralsExtended The String "Found match" appears 2 times in the file. 69
 Warning extension ReturnCountExtended Return count for 'resolveUrlPathInternal' method is 2 (max allowed is 1). 86

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/CssLinkResourceTransformer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension ReturnCountExtended Return count for 'transform' method is 3 (max allowed is 1). 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "url(" appears 2 times in the file. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 248
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 258

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/DefaultResourceResolverChain.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/DefaultResourceTransformerChain.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 38

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/GzipResourceResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 70
 Warning extension MultipleStringLiteralsExtended The String "gzip" appears 2 times in the file. 70

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PathResourceResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 85
 Warning extension ReturnCountExtended Return count for 'getResource' method is 2 (max allowed is 1). 88
 Warning extension ReturnCountExtended Return count for 'isResourceUnderLocation' method is 4 (max allowed is 1). 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 185
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 185

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension ReturnCountExtended Return count for 'getResource' method is 4 (max allowed is 1). 244
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 299
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 306
 Warning extension ReturnCountExtended Return count for 'isInvalidPath' method is 4 (max allowed is 1). 324
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 335
 Warning extension MultipleStringLiteralsExtended The String "../" appears 2 times in the file. 343
 Warning extension ReturnCountExtended Return count for 'loadFileTypeMapFromContextSupportModule' method is 2 (max allowed is 1). 438
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 466

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceTransformerSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension ReturnCountExtended Return count for 'getForLookupPath' method is 2 (max allowed is 1). 200
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 204
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 217

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 77
 Warning extension ReturnCountExtended Return count for 'resolveResourceInternal' method is 5 (max allowed is 1). 132
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 148
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 206

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/AbstractAnnotationConfigDispatcherServletInitializer.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 51

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/AbstractDispatcherServletInitializer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'." appears 2 times in the file. 93
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 115
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 142

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/AbstractFlashMapManager.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 205
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 212

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/BindStatus.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 112
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 245
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 254
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 269
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 286
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 326

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/JspAwareRequestContext.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 48
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 112

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 99
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 138
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 153
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 169
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 184
 Warning extension OverridableMethodInConstructor Overridable method 'initContext' is called in constructor body. 204
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 355
 Warning extension MultipleStringLiteralsExtended The String "Cannot change theme if no ThemeResolver configured" appears 2 times in the file. 447
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 449
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 482
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 500
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 655
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 668
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 700
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 713
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 735
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 773
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 812
 Warning extension ReturnCountExtended Return count for 'getErrors' method is 2 (max allowed is 1). 842
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 926
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 940

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContextUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 121

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 129 position 29 need optimization. All method calls are advised to move to end of logic expression. 129
 Warning extension LogicConditionNeedOptimization Condition with && at line 129 position 71 need optimization. All method calls are advised to move to end of logic expression. 129

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/SessionFlashMapManager.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 54

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "no-cache" appears 2 times in the file. 293

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/BindTag.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 120

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/EscapeBodyTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'SKIP_BODY'. 88

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/EvalTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 124
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 201

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/MessageTag.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveMessage' method is 4 (max allowed is 1). 214
 Warning extension ReturnCountExtended Return count for 'resolveArguments' method is 5 (max allowed is 1). 267
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 295

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/NestedPathTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/RequestContextAwareTag.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 92

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/UrlTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 6 times in the file. 111
 Warning extension MoveVariableInsideIf Variable 'request' can be moved inside the block at line '206' to restrict runtime creation. 203
 Warning extension MoveVariableInsideIf Variable 'response' can be moved inside the block at line '222' to restrict runtime creation. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 219
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 219

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractCheckedElementTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "checked" appears 4 times in the file. 52

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractDataBoundFormElementTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 84
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 164
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 189
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 221

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractFormTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 111

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractHtmlInputElementTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "readonly" appears 2 times in the file. 63

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractMultiCheckedElementTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 177
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 191
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 198
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 253
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 264
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 266

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractSingleCheckedElementTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "label" appears 2 times in the file. 90

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ButtonTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 36

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 60
 Warning extension MoveVariableInsideIf Variable 'boundValue' can be moved inside the block at line '74' to restrict runtime creation. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 88

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/FormTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "post" appears 2 times in the file. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 151
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 201
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 326
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 334
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 386
 Warning extension ReturnCountExtended Return count for 'resolveAction' method is 2 (max allowed is 1). 428
 Warning extension MoveVariableInsideIf Variable 'pathToServlet' can be moved inside the block at line '437' to restrict runtime creation. 436

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "hidden" appears 2 times in the file. 80

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/InputTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 144

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/LabelTag.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 77

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "option" appears 3 times in the file. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 225

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionWriter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 210
 Warning extension MultipleStringLiteralsExtended The String "selected" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 235
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 246

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionsTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 155
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 168
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 171

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/SelectTag.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 105
 Warning extension ReturnCountExtended Return count for 'writeTagContent' method is 2 (max allowed is 1). 192
 Warning extension MultipleStringLiteralsExtended The String "multiple" appears 3 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "size" appears 2 times in the file. 198
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 209
 Warning extension MultipleStringLiteralsExtended The String "hidden" appears 2 times in the file. 242
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 254
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 283

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/SelectedValueComparator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isSelected' method is 4 (max allowed is 1). 62
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 64
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 132
 Warning extension ReturnCountExtended Return count for 'exhaustiveCompare' method is 4 (max allowed is 1). 147
 Warning extension MoveVariableInsideIf Variable 'candidateAsString' can be moved inside the block at line '172' to restrict runtime creation. 167

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TagIdGenerator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 49

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TagWriter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47
 Warning extension MultipleStringLiteralsExtended The String ">" appears 3 times in the file. 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 256

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TextareaTag.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "textarea" appears 2 times in the file. 95

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ValueFormatter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 48
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 67

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/theme/CookieThemeResolver.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".THEME" appears 2 times in the file. 52

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/theme/SessionThemeResolver.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 62

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/AbstractCachingViewResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 116
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 195

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/AbstractTemplateView.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 122 position 37 need optimization. All method calls are advised to move to end of logic expression. 122
 Warning extension MultipleStringLiteralsExtended The String "' because of an existing model object of the same name" appears 3 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "' with value [" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "] to model" appears 2 times in the file. 129
 Warning extension LogicConditionNeedOptimization Condition with && at line 140 position 38 need optimization. All method calls are advised to move to end of logic expression. 140

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/AbstractView.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension MultipleStringLiteralsExtended The String "'" appears 5 times in the file. 148
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 207
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 314
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 319
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 320
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 322

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/ContentNegotiatingViewResolver.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveViewName' method is 3 (max allowed is 1). 296
 Warning extension ReturnCountExtended Return count for 'getMediaTypes' method is 2 (max allowed is 1). 324
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 333
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 341
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 350
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 358
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 378
 Warning extension ReturnCountExtended Return count for 'getBestView' method is 2 (max allowed is 1). 401
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 432

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/DefaultRequestToViewNameTranslator.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 81
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 177

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/InternalResourceView.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] in InternalResourceView '" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 158
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 241

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/InternalResourceViewResolver.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'requiredViewClass' is called in constructor body. 62
 Warning extension LogicConditionNeedOptimization Condition with && at line 63 position 51 need optimization. All method calls are advised to move to end of logic expression. 63

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 253
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 358
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 388
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 429
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 452
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 474
 Warning extension ReturnCountExtended Return count for 'isEligibleProperty' method is 7 (max allowed is 1). 493
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 537
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 551
 Warning extension MultipleStringLiteralsExtended The String "Location" appears 2 times in the file. 596

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/ResourceBundleViewResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 85
 Warning extension ReturnCountExtended Return count for 'initFactory' method is 3 (max allowed is 1). 212
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 223

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/UrlBasedViewResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 180
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 307
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 461
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 483

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/ViewResolverComposite.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/freemarker/FreeMarkerView.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 192
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 215
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 349

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurer.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 177

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 128

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/AbstractJasperReportsView.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'convertParameterValue' method is 2 (max allowed is 1). 381
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 450
 Warning extension MultipleStringLiteralsExtended The String "Field [" appears 2 times in the file. 456
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 461
 Warning extension MultipleStringLiteralsExtended The String "] in key [" appears 2 times in the file. 462
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 465
 Warning extension ReturnCountExtended Return count for 'fillReport' method is 3 (max allowed is 1). 630
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 679
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 708
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 753

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatView.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 174

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/JasperReportsViewResolver.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/AbstractJackson2View.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 163

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 110
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 141
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 201
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 208

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringWildcardServletTilesApplicationContext.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getResources' method is 3 (max allowed is 1). 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesConfigurer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 131
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 177
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 298
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 304
 Warning extension MultipleStringLiteralsExtended The String "localeResolver" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "definitionDAO" appears 2 times in the file. 348

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/velocity/VelocityLayoutView.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 136
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 138

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/velocity/VelocityView.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 270
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 404
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 405
 Warning extension LogicConditionNeedOptimization Condition with && at line 480 position 24 need optimization. All method calls are advised to move to end of logic expression. 480
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 499
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 552

spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/XsltView.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 136
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 203
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 276
 Warning extension MultipleStringLiteralsExtended The String "'" appears 4 times in the file. 421

spring-framework/spring-webmvc/src/test/java/org/springframework/context/ACATester.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 45

spring-framework/spring-webmvc/src/test/java/org/springframework/context/BeanThatBroadcasts.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "listener" appears 2 times in the file. 32

spring-framework/spring-webmvc/src/test/java/org/springframework/web/context/ContextLoaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/web/context/WEB-INF/applicationContext.xml " appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/web/context/WEB-INF/context-addition.xml" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Correct WebApplicationContext exposed in ServletContext" appears 3 times in the file. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension MultipleStringLiteralsExtended The String "lifecycle" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Has father" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "father" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Has rod" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Has kerry" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "kerry" appears 5 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Not destroyed" appears 2 times in the file. 78
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension MultipleStringLiteralsExtended The String "beans1.bean1" appears 3 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "beans1.bean2" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Destroyed" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/web/context/WEB-INF/applicationContext.xml" appears 4 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/web/context/WEB-INF/ContextLoaderTests-acc-context.xml" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "testName" appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "initialized" appears 4 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/web/context/WEB-INF/empty-context.xml" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "someProperty" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 2 times in the file. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 211
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanDefinitionStoreException" appears 3 times in the file. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 274
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300

spring-framework/spring-webmvc/src/test/java/org/springframework/web/context/ServletContextAwareProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 12 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "ServletContext should have been set" appears 5 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "ServletConfig should have been set" appears 3 times in the file. 112

spring-framework/spring-webmvc/src/test/java/org/springframework/web/context/XmlWebApplicationContextTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "rootProfile1" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "myFriend" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "wacProfile1" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "/org/springframework/web/context/WEB-INF/test-servlet.xml" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "someMessage" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Bean from root context" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Custom BeanPostProcessor applied" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 164

spring-framework/spring-webmvc/src/test/java/org/springframework/web/context/support/HttpRequestHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myHandler" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "exception" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "ServletException" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "IOException" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "myResponse" appears 2 times in the file. 62

spring-framework/spring-webmvc/src/test/java/org/springframework/web/context/support/ServletContextSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myAttr" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "attributeName" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "importedAttr" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanCreationException" appears 2 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "myParam" appears 4 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "initParamName" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "importedParam" appears 3 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131
 Warning extension MultipleStringLiteralsExtended The String "attr1" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "attr2" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "key4" appears 6 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "mykey4" appears 6 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "age" appears 6 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "${age}" appears 6 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "${key4}name${var}${var}${" appears 4 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "spouse" appears 5 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "${ref}" appears 8 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 11 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 10 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 5 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "configurer" appears 5 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "mykey4namemyvarmyvar${" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "age=98\nvar=${m}var\nref=tb2\nm=my\nkey4=yourkey4" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "contextOverride" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "searchContextAttributes" appears 2 times in the file. 260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 292
 Warning extension MultipleStringLiteralsExtended The String "na${age}me" appears 2 times in the file. 293
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 297
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 302
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "key3" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "namemyvarmyvar${" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "na98me" appears 2 times in the file. 333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension MultipleStringLiteralsExtended The String "os.name" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "classpath:org/springframework/web/context" appears 5 times in the file. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 356
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 363
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/context1.xml" appears 3 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/context2.xml" appears 3 times in the file. 365
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/" appears 4 times in the file. 370
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 373
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/*.xml" appears 2 times in the file. 378
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 385
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 390
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/mydir1/" appears 4 times in the file. 391
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/mydir2/" appears 4 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/mydir1/context1.xml" appears 4 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/mydir2/context2.xml" appears 4 times in the file. 404
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 406
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 417
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 418
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 423
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 427
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/mydir2/mydir3/" appears 2 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/mydir2/mydir3/context3.xml" appears 2 times in the file. 444
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 446
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 458
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 459
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 464
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 475
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 481
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487

spring-framework/spring-webmvc/src/test/java/org/springframework/web/context/support/WebApplicationObjectSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 43

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/ComplexWebApplicationContext.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "theme2" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "mappings" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "order" appears 5 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "anotherLocaleHandler" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "exceptionMappings" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "defaultErrorView" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "body" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "Wrong interceptor order" appears 6 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "test1x" appears 7 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "test1y" appears 4 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "test2x" appears 6 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "Incorrect request attribute" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "test2y" appears 4 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 2 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "test3x" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "test3y" appears 2 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "fail" appears 2 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "servlet" appears 3 times in the file. 414
 Warning extension MultipleStringLiteralsExtended The String "Incorrect Locale" appears 4 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "Incorrect TimeZone" appears 4 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "Incorrect theme name" appears 2 times in the file. 439
 Warning extension MultipleStringLiteralsExtended The String "GMT+1" appears 3 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "resolved" appears 2 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "cleanedUp" appears 2 times in the file. 501

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/DispatcherServletTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "complex" appears 12 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "publishContext" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Correct namespace" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Correct attribute" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 43 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "/invalid.do" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Not forwarded" appears 7 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "correct error code" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "/locale.do" appears 13 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "testListener" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "/view.do" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "role1" appears 15 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "true" appears 12 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Last-Modified" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "/unknown.do" appears 4 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "forwarded to failed" appears 11 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "failed0.jsp" appears 6 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "Exception exposed" appears 9 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "exception" appears 10 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "/locale.do;abc=def" appears 4 times in the file. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 8 times in the file. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension MultipleStringLiteralsExtended The String "test1x" appears 2 times in the file. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension MultipleStringLiteralsExtended The String "test1y" appears 2 times in the file. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 8 times in the file. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension MultipleStringLiteralsExtended The String "test2x" appears 2 times in the file. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension MultipleStringLiteralsExtended The String "test2y" appears 2 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension MultipleStringLiteralsExtended The String "multipartResolver" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "cleanedUp" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "fail" appears 2 times in the file. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 6 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "failed1.jsp" appears 3 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "Should not have thrown ServletException: " appears 3 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "access" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "servlet" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "/loc.do" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "role2" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "locale" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "en" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "theme" appears 3 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "mytheme" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "HEAD" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "/head.do" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "/body.do" appears 2 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "body" appears 4 times in the file. 430
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension MultipleStringLiteralsExtended The String "/servlet.do" appears 3 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "/form.do" appears 5 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown ServletException" appears 3 times in the file. 536
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 559
 Warning extension MultipleStringLiteralsExtended The String "/main.do" appears 3 times in the file. 578
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 6 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 6 times in the file. 582
 Warning extension MultipleStringLiteralsExtended The String "command" appears 3 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown IllegalStateException" appears 2 times in the file. 654
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/web/context" appears 2 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "empty" appears 2 times in the file. 718
 Warning extension MultipleStringLiteralsExtended The String "servletContextAwareBean" appears 4 times in the file. 720
 Warning extension MultipleStringLiteralsExtended The String "servletConfigAwareBean" appears 4 times in the file. 722
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 766
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 767
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 769
 Warning extension MultipleStringLiteralsExtended The String "initialized" appears 5 times in the file. 812
 Warning extension MultipleStringLiteralsExtended The String "otherInitialized" appears 5 times in the file. 813
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 820

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/FlashMapTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 35
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 50
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String " " appears 5 times in the file. 78
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension MultipleStringLiteralsExtended The String "key" appears 5 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/HandlerExecutionChainTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 129
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 132

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/SimpleWebApplicationContext.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 56

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension MultipleStringLiteralsExtended The String "test.foo.bar" appears 2 times in the file. 229

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 16 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "ignoreDefaultModelOnRedirect" appears 2 times in the file. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 202
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension MultipleStringLiteralsExtended The String "/" appears 7 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "2009-10-31" appears 4 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 245
 Warning extension MultipleStringLiteralsExtended The String "/accounts/12345" appears 2 times in the file. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 298
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 317
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 330
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 368
 Warning extension MultipleStringLiteralsExtended The String "/resources/**" appears 6 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "test-resource-cache" appears 2 times in the file. 412
 Warning extension MultipleStringLiteralsExtended The String "/**/*.js" appears 2 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "/foo.css" appears 2 times in the file. 475
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 479
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 505
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 524
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 525
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 526
 Warning extension MultipleStringLiteralsExtended The String "mvc-config-view-controllers.xml" appears 2 times in the file. 535
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 551
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 552
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 563
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 564
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 565
 Warning extension MultipleStringLiteralsExtended The String "/myapp/app/bar" appears 3 times in the file. 569
 Warning extension MultipleStringLiteralsExtended The String "/myapp" appears 6 times in the file. 570
 Warning extension MultipleStringLiteralsExtended The String "/app" appears 3 times in the file. 571
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 574
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 575
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 576
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 578
 Warning extension MultipleStringLiteralsExtended The String "/myapp/app/" appears 2 times in the file. 580
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 585
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 586
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 587
 Warning extension MultipleStringLiteralsExtended The String "root" appears 3 times in the file. 589
 Warning extension MultipleStringLiteralsExtended The String "/bad" appears 2 times in the file. 605
 Warning extension MultipleStringLiteralsExtended The String "/app/" appears 2 times in the file. 625
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 629
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 630
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 631
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 640
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 641
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 642
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 651
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 652
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 653
 Warning extension MultipleStringLiteralsExtended The String "Actual: " appears 2 times in the file. 719
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 3 times in the file. 735
 Warning extension MultipleStringLiteralsExtended The String "suffix" appears 3 times in the file. 736
 Warning extension MultipleStringLiteralsExtended The String "cacheLimit" appears 3 times in the file. 738
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 765
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 770
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 3 times in the file. 770
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 780
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 781
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 798
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 878
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 959
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 985

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ContentNegotiationConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/flower" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "json" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "f" appears 2 times in the file. 86

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DefaultServletHandlerConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "The ServletContext was not called with the default servlet name" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "The request was not forwarded" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "defaultServlet" appears 2 times in the file. 77

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 199

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/InterceptorRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/path1/**" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "/path1/secret" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "/path2" appears 6 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "/path1" appears 4 times in the file. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ResourceHandlerRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/resources/**" appears 9 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewControllerRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 12 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "/redirectTo" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "a=b" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "/context" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewResolutionIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<html><body>Hello World!</body></html>" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "/WEB-INF/" appears 4 times in the file. 163

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewResolverRegistryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension MultipleStringLiteralsExtended The String "/" appears 9 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String ".jsp" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 8 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "suffix" appears 8 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String ".vm" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "cacheLimit" appears 3 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String ".fmt" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String ".groovy" appears 2 times in the file. 173

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportExtensionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 7 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "/bad" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "/old" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "converted" appears 2 times in the file. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension MultipleStringLiteralsExtended The String "invalid" appears 3 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "f" appears 2 times in the file. 236
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension MultipleStringLiteralsExtended The String ".jsp" appears 2 times in the file. 270

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 5 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "EmptyHandlerMapping" appears 3 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension MultipleStringLiteralsExtended The String "responseBodyAdvice" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "User already exists!" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "mvcViewResolver" appears 3 times in the file. 243

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/BeanNameUrlHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handlerMapping" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 20 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/myapp" appears 8 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Handler is null" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "godCtrl" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "/mypath/welcome.html" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Handler is correct bean" appears 18 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "/myapp/mypath/welcome.html" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "/mypath" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "/mypath/test.html" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "/mypath/testarossa" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "/mypath/tes" appears 2 times in the file. 158

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/HandlerMethodMappingTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 62
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 2 times in the file. 82
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/MappedInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 49
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 3 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 2 times in the file. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "/admin/**" appears 2 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension MultipleStringLiteralsExtended The String "/admin/foo" appears 2 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 118

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/PathMatchingUrlHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mainController" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 38 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Handler is correct bean" appears 38 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/show.html" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "starController" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "welcome.html" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "/pathmatchingA.html" appears 2 times in the file. 99

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/SimpleMappingExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default-view" appears 13 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Exception" appears 6 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "error" appears 19 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "HANDLER_EXCEPTION" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "java.lang.Exception" appears 6 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "AnotherException" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "another-error" appears 7 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "SomeOddException" appears 3 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "another-some-error" appears 2 times in the file. 272

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/SimpleUrlHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 80
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 12 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "/welcome.html" appears 5 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Handler is correct bean" appears 11 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "/show.html" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "/bookseats.html" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "/somePath" appears 2 times in the file. 151

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/i18n/CookieLocaleResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "LanguageKoekje" appears 6 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "nl" appears 13 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "GMT+1" appears 9 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension MultipleStringLiteralsExtended The String "LanguageKoek" appears 4 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String ".springframework.org" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "/mypath" appears 2 times in the file. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/i18n/LocaleResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should not be able to set Locale" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "should be able to set Locale" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "GMT+1" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "GMT+2" appears 2 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension MultipleStringLiteralsExtended The String "GMT+3" appears 2 times in the file. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/ControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "action" appears 8 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/somePath" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "config" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 2 times in the file. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/ParameterizableViewControllerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 66

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/UrlFilenameViewControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 12 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "/index" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension MultipleStringLiteralsExtended The String "/index.html" appears 4 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "mypre_" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "_mysuf" appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension MultipleStringLiteralsExtended The String "/docs/cvs/commit.html" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "docs/cvs/commit" appears 3 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "When setPrefix(..) is called with a null argument, the empty string value must be used instead." appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "When setSuffix(..) is called with a null argument, the empty string value must be used instead." appears 2 times in the file. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 167

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/WebContentInterceptorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expires" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "'Expires' header not set (must be) : null" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "'Expires' header not set (must be) : empty" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Cache-Control" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "'Cache-Control' header not set (must be) : null" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "'Cache-Control' header not set (must be) : empty" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "'Expires' header set (must not be) : empty" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "'Cache-Control' header set (must not be) : empty" appears 2 times in the file. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 120

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No ModelAndView returned" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Invalid view name returned" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code returned" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "GenericError" appears 2 times in the file. 112
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 116
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView not empty" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Invalid response written" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "IllegalArgumentException" appears 2 times in the file. 130

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/CgLibProxyServletAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "doIt" appears 6 times in the file. 56

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/ControllerClassNameHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 11 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "welcome" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "/myapp/welcome" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "buy" appears 3 times in the file. 87

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/JdkProxyServletAnnotationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "doIt" appears 6 times in the file. 56

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/RequestSpecificMappingInfoComparatorTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 63
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 68
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 4 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/ResponseStatusExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No ModelAndView returned" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "No Empty ModelAndView returned" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Invalid status reason" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Gone reason message" appears 2 times in the file. 76

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/ServletAnnotationControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 87 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "/myPath.do" appears 26 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "controller" appears 38 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "excludedPackages" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "Invalid response status code" appears 5 times in the file. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "myHeader" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "conversionService" appears 4 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "webBindingInitializer" appears 6 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "handlerAdapter" appears 13 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 331
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 347
 Warning extension MultipleStringLiteralsExtended The String "PUT" appears 11 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 29 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "advisor" appears 4 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "viewResolver" appears 12 times in the file. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension MultipleStringLiteralsExtended The String "/myPage" appears 8 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "page1" appears 8 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 9 times in the file. 425
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension MultipleStringLiteralsExtended The String "object1" appears 20 times in the file. 427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 428
 Warning extension MultipleStringLiteralsExtended The String "object2" appears 20 times in the file. 428
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 429
 Warning extension MultipleStringLiteralsExtended The String "model" appears 21 times in the file. 429
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension MultipleStringLiteralsExtended The String "page2" appears 8 times in the file. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 438
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 439
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 467
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 468
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 469
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 476
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 477
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 478
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 479
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 501
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 502
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 503
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 504
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 505
 Warning extension MultipleStringLiteralsExtended The String "testBeanList" appears 5 times in the file. 505
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 512
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 513
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 514
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 515
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 516
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 539
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 541
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 542
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 543
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 550
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 551
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 552
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 553
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 554
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 4 times in the file. 591
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 5 times in the file. 591
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 4 times in the file. 592
 Warning extension MultipleStringLiteralsExtended The String "10" appears 4 times in the file. 599
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 608
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 5 times in the file. 608
 Warning extension MultipleStringLiteralsExtended The String "age" appears 18 times in the file. 609
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 10 times in the file. 618
 Warning extension MultipleStringLiteralsExtended The String "myView-name1-typeMismatch-tb1-myValue" appears 2 times in the file. 643
 Warning extension MultipleStringLiteralsExtended The String "defaultName" appears 6 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "myDefaultName" appears 4 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "date" appears 8 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "2007-10-02" appears 8 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "myView-String:myDefaultName-typeMismatch-tb1-myOriginalValue" appears 3 times in the file. 720
 Warning extension MultipleStringLiteralsExtended The String "100" appears 2 times in the file. 760
 Warning extension MultipleStringLiteralsExtended The String "myView" appears 15 times in the file. 840
 Warning extension MultipleStringLiteralsExtended The String "servletContext" appears 3 times in the file. 841
 Warning extension MultipleStringLiteralsExtended The String "servletConfig" appears 3 times in the file. 842
 Warning extension MultipleStringLiteralsExtended The String "sessionId" appears 3 times in the file. 843
 Warning extension MultipleStringLiteralsExtended The String "requestUri" appears 3 times in the file. 844
 Warning extension MultipleStringLiteralsExtended The String "locale" appears 2 times in the file. 845
 Warning extension MultipleStringLiteralsExtended The String "view" appears 6 times in the file. 858
 Warning extension MultipleStringLiteralsExtended The String "other" appears 4 times in the file. 858
 Warning extension MultipleStringLiteralsExtended The String "myOtherView" appears 12 times in the file. 861
 Warning extension MultipleStringLiteralsExtended The String "my" appears 3 times in the file. 864
 Warning extension MultipleStringLiteralsExtended The String "lang" appears 3 times in the file. 865
 Warning extension MultipleStringLiteralsExtended The String "de" appears 3 times in the file. 865
 Warning extension MultipleStringLiteralsExtended The String "myLangView" appears 12 times in the file. 868
 Warning extension MultipleStringLiteralsExtended The String "mySurpriseView" appears 10 times in the file. 874
 Warning extension MultipleStringLiteralsExtended The String "active" appears 2 times in the file. 908
 Warning extension MultipleStringLiteralsExtended The String "/myHandle.do" appears 3 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "/myOtherHandle.do" appears 2 times in the file. 948
 Warning extension MultipleStringLiteralsExtended The String "/myLangHandle.do" appears 2 times in the file. 953
 Warning extension MultipleStringLiteralsExtended The String "/mySurpriseHandle.do" appears 2 times in the file. 958
 Warning extension MultipleStringLiteralsExtended The String "handlerMapping" appears 3 times in the file. 1011
 Warning extension MultipleStringLiteralsExtended The String "myParam" appears 6 times in the file. 1060
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 10 times in the file. 1060
 Warning extension MultipleStringLiteralsExtended The String "/myApp/myHandle" appears 2 times in the file. 1095
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1167
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1168
 Warning extension MultipleStringLiteralsExtended The String "method1" appears 2 times in the file. 1179
 Warning extension MultipleStringLiteralsExtended The String "/something" appears 20 times in the file. 1186
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 9 times in the file. 1187
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 10 times in the file. 1188
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 17 times in the file. 1189
 Warning extension MultipleStringLiteralsExtended The String "text/plain; charset=utf-8" appears 6 times in the file. 1189
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 13 times in the file. 1190
 Warning extension MultipleStringLiteralsExtended The String "text/*, */*" appears 3 times in the file. 1190
 Warning extension MultipleStringLiteralsExtended The String "text" appears 5 times in the file. 1205
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 2 times in the file. 1205
 Warning extension MultipleStringLiteralsExtended The String "messageConverters" appears 5 times in the file. 1209
 Warning extension MultipleStringLiteralsExtended The String "*/*" appears 2 times in the file. 1235
 Warning extension MultipleStringLiteralsExtended The String "application/pdf" appears 4 times in the file. 1260
 Warning extension MultipleStringLiteralsExtended The String "MyRequestHeader" appears 2 times in the file. 1315
 Warning extension MultipleStringLiteralsExtended The String "MyValue" appears 6 times in the file. 1315
 Warning extension MultipleStringLiteralsExtended The String "MyResponseHeader" appears 4 times in the file. 1320
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1341
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 1344
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 3 times in the file. 1359
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1386
 Warning extension MultipleStringLiteralsExtended The String "pdf" appears 5 times in the file. 1420
 Warning extension MultipleStringLiteralsExtended The String "text/html" appears 5 times in the file. 1423
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 1429
 Warning extension MultipleStringLiteralsExtended The String "non-pdf" appears 2 times in the file. 1449
 Warning extension MultipleStringLiteralsExtended The String "html" appears 3 times in the file. 1460
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 4 times in the file. 1466
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 1488
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 1509
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 3 times in the file. 1520
 Warning extension MultipleStringLiteralsExtended The String "noParams" appears 2 times in the file. 1534
 Warning extension MultipleStringLiteralsExtended The String "/map" appears 2 times in the file. 1556
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1558
 Warning extension MultipleStringLiteralsExtended The String "value21" appears 2 times in the file. 1558
 Warning extension MultipleStringLiteralsExtended The String "value22" appears 2 times in the file. 1558
 Warning extension MultipleStringLiteralsExtended The String "/multiValueMap" appears 2 times in the file. 1564
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1577
 Warning extension MultipleStringLiteralsExtended The String "Content-Type=[text/html],Custom-Header=[value21,value22]" appears 2 times in the file. 1587
 Warning extension MultipleStringLiteralsExtended The String "/book/list" appears 2 times in the file. 1614
 Warning extension MultipleStringLiteralsExtended The String "list" appears 2 times in the file. 1617
 Warning extension MultipleStringLiteralsExtended The String "/book/show" appears 2 times in the file. 1619
 Warning extension MultipleStringLiteralsExtended The String "12" appears 2 times in the file. 1620
 Warning extension MultipleStringLiteralsExtended The String "show-id=12" appears 2 times in the file. 1623
 Warning extension MultipleStringLiteralsExtended The String "/book" appears 2 times in the file. 1625
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 1628
 Warning extension MultipleStringLiteralsExtended The String "/handle" appears 6 times in the file. 1670
 Warning extension MultipleStringLiteralsExtended The String "handle null" appears 2 times in the file. 1673
 Warning extension MultipleStringLiteralsExtended The String "p" appears 2 times in the file. 1676
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 1676
 Warning extension MultipleStringLiteralsExtended The String "handle value" appears 2 times in the file. 1679
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 2 times in the file. 1719
 Warning extension MultipleStringLiteralsExtended The String "templatePath" appears 2 times in the file. 1730
 Warning extension MultipleStringLiteralsExtended The String "home" appears 3 times in the file. 1755
 Warning extension MultipleStringLiteralsExtended The String "homeJson" appears 2 times in the file. 1774
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1780
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1784
 Warning extension MultipleStringLiteralsExtended The String "/singleString" appears 2 times in the file. 1809
 Warning extension MultipleStringLiteralsExtended The String "content" appears 11 times in the file. 1810
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 10 times in the file. 1810
 Warning extension MultipleStringLiteralsExtended The String "/stringArray" appears 4 times in the file. 1834
 Warning extension MultipleStringLiteralsExtended The String "Eva" appears 2 times in the file. 1861
 Warning extension MultipleStringLiteralsExtended The String "Juergen-Eva" appears 2 times in the file. 1864
 Warning extension MultipleStringLiteralsExtended The String "1,2" appears 2 times in the file. 1904
 Warning extension MultipleStringLiteralsExtended The String "1-2" appears 3 times in the file. 1907
 Warning extension MultipleStringLiteralsExtended The String "/integerSet" appears 2 times in the file. 1931
 Warning extension MultipleStringLiteralsExtended The String ";" appears 2 times in the file. 1982
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1987
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 12 times in the file. 2051
 Warning extension MultipleStringLiteralsExtended The String "-" appears 37 times in the file. 2051
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2234
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 4 times in the file. 2235
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 4 times in the file. 2236
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2260
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2287
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 6 times in the file. 2298
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 2324
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2365
 Warning extension MultipleStringLiteralsExtended The String "ITestBean" appears 3 times in the file. 2365
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 3 times in the file. 2372
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 2 times in the file. 2406
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 4 times in the file. 2410
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2617
 Warning extension MultipleStringLiteralsExtended The String "myCommand" appears 2 times in the file. 2655
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2668
 Warning extension MoveVariableInsideIf Variable 'testBeans' can be moved inside the block at line '2,671' to restrict runtime creation. 2670
 Warning extension MultipleStringLiteralsExtended The String "yourKey" appears 2 times in the file. 2675
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 3099
 Warning extension MultipleStringLiteralsExtended The String "=[" appears 2 times in the file. 3112

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/ServletAnnotationMappingUtilsTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 34
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 16 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "/" appears 17 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "Invalid request method result" appears 15 times in the file. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 9 times in the file. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension MultipleStringLiteralsExtended The String "!param2" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 61
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 62
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 71
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 80
 Warning extension MultipleStringLiteralsExtended The String "param1=foo" appears 2 times in the file. 80
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89
 Warning extension MultipleStringLiteralsExtended The String "param1!=foo" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension MultipleStringLiteralsExtended The String "header1" appears 6 times in the file. 116
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 117
 Warning extension MultipleStringLiteralsExtended The String "!header2" appears 2 times in the file. 117
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 127
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 136
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 145
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 156
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 157
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "application/pdf, text/html" appears 2 times in the file. 165
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 166
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 175
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 184

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7766Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/colors" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 52

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Nested" appears 9 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Nested1,Nested2" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "/nested/listElement" appears 3 times in the file. 78
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 91
 Warning extension MultipleStringLiteralsExtended The String "/nested/listOfListsElement" appears 2 times in the file. 107
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 120
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "Nested2" appears 3 times in the file. 152

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/UriTemplateServletAnnotationControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 32 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "/42" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "test-42" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "/hotels/42/dates/2008-foo-bar" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "controller" appears 5 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "useDefaultSuffixPattern" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "handlerMapping" appears 4 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "specific" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "test-42-21" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "/hotels/42" appears 5 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "/hotels" appears 4 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "list" appears 3 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 5 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "show-42" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "DELETE" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "/hotels/1" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "handle4-page-5" appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "foo-foo" appears 2 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "plain-bar" appears 2 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "/foo/100" appears 2 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "/module/100" appears 2 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String "Invalid path variable value" appears 10 times in the file. 454
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 7 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "42" appears 5 times in the file. 468
 Warning extension MultipleStringLiteralsExtended The String "-" appears 3 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "category-" appears 2 times in the file. 645
 Warning extension MultipleStringLiteralsExtended The String "page-" appears 2 times in the file. 646
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 698

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/CompositeRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "header1" appears 2 times in the file. 50
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 74
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 133

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 17 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "!text/plain" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "text/*" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 6 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "01" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result: " appears 4 times in the file. 118
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 160

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/HeadersRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 14 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 9 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "foo=bar" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "foo!=bar" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result: " appears 2 times in the file. 127

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/ParamsRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 13 times in the file. 35
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 36
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension MultipleStringLiteralsExtended The String "foo=bar" appears 6 times in the file. 38
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result: " appears 2 times in the file. 100

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/PatternsRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 11 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "/type1" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "/type2" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "/method1" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/method2" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 12 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "/foo/*" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 4 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "/foo.html" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "/{foo}" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "/jobs/{jobName}" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "json" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "/foo/" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "/foo*" appears 2 times in the file. 188

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/ProducesRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 24 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 21 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "!text/plain" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "text/*" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 10 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "application/pdf" appears 2 times in the file. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result: " appears 8 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "*/*" appears 4 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 5 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "Should have picked '*/*' condition as an exact match" appears 2 times in the file. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 230
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 237
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension MultipleStringLiteralsExtended The String "Should have used MediaType.equals(Object) to break the match" appears 2 times in the file. 270
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 297

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/RequestConditionHolderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 47
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 54
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 93
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 113

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/RequestMethodsRequestConditionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 3 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 4 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Invalid comparison result: " appears 3 times in the file. 85

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/mapping/ControllerBeanNameHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 5 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "welcome" appears 2 times in the file. 57

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/mapping/ControllerClassNameHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 10 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "welcome" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/myapp/welcome" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "admin" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "buy" appears 2 times in the file. 90

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo/*" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 5 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "/bar/*" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "/bar" appears 4 times in the file. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 17 times in the file. 103
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 142
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 148
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 4 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "/person/1" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "PUT" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "HttpMediaTypeNotSupportedException expected" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "/1/2" appears 6 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "group" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "a/b" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "/{path1}/2" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "/content" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "/cars;colors=red,blue,green;year=2012" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "cars" appears 7 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "red" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "colors" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "2012" appears 2 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "/{cars:[^;]+}{params}" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "params" appears 4 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 383

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMethodMappingNamingStrategyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 45

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 27 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/foo*" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "foo=bar" appears 19 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "foo!=bar" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 20 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "customFoo=customBar" appears 8 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "/NOOOOOO" appears 3 times in the file. 234
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 254
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 266
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension MultipleStringLiteralsExtended The String "text/NOOOOOO" appears 2 times in the file. 286
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 290
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 302
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 7 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "Bad argument" appears 2 times in the file. 139
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension MultipleStringLiteralsExtended The String "errorView" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "detail" appears 2 times in the file. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension MultipleStringLiteralsExtended The String "IllegalArgumentException" appears 2 times in the file. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension MultipleStringLiteralsExtended The String "Exception was not handled" appears 4 times in the file. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 215
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ExtendedServletRequestDataBinderTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "nameValue" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "age" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "25" appears 2 times in the file. 51
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HandlerMethodAnnotationDetectionTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 95
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 97
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 123
 Warning extension MultipleStringLiteralsExtended The String "attr1" appears 7 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "failure" appears 2 times in the file. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 434

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessorMockTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 8 times in the file. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension MultipleStringLiteralsExtended The String "The requestHandled flag shouldn't change" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Invalid argument" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "www.example.com" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 2 times in the file. 156
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 172
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 5 times in the file. 182
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 185
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 6 times in the file. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 212
 Warning extension MultipleStringLiteralsExtended The String "text/*" appears 2 times in the file. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 248
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 251
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 265
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 284
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 286
 Warning extension MultipleStringLiteralsExtended The String "headerName" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "headerValue" appears 4 times in the file. 296
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 297
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension MultipleStringLiteralsExtended The String "header" appears 2 times in the file. 308
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 309
 Warning extension MultipleStringLiteralsExtended The String "body" appears 2 times in the file. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 319

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{\"name\" : \"Jad\"}" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 2 times in the file. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension MultipleStringLiteralsExtended The String "Jad" appears 3 times in the file. 97
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 129

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/MatrixVariablesMapMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension MultipleStringLiteralsExtended The String "cars" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "colors" appears 13 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "red" appears 6 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "green" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "purple" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "planes" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "yellow" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "orange" appears 3 times in the file. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/MatrixVariablesMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "cars" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "colors" appears 5 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "red" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "green" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "2006" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "2013" appears 2 times in the file. 111
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 114
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewMethodReturnValueHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "attrName" appears 10 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "attrValue" appears 10 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension MultipleStringLiteralsExtended The String "redirect:viewName" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "myRedirect:viewName" appears 2 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewResolverMethodReturnValueHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBeanReturnValue" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "modelAttrName" appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 74
 Warning extension MultipleStringLiteralsExtended The String "intReturnValue" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://localhost/" appears 2 times in the file. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "DE" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "/something/1/foo" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "limit" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "offset" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "http://localhost" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "X-Forwarded-Host" appears 3 times in the file. 206

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/PathVariableMapMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/PathVariableMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "PathVariable not resolved correctly" appears 2 times in the file. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension MultipleStringLiteralsExtended The String "oldName" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "oldValue" appears 2 times in the file. 100
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 113

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapterIntegrationTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 110
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 4 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "text/plain; charset=utf-8" appears 4 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "header" appears 6 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "headerValue" appears 5 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "anotherHeader" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "anotherHeaderValue" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "dateParam" appears 4 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "paramByConvention" appears 3 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "paramByConventionValue" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "cookie" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 11 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "/contextPath" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "systemHeader" appears 3 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "systemHeaderValue" appears 2 times in the file. 159
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 160
 Warning extension MultipleStringLiteralsExtended The String "pathvar" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "pathvarValue" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "headerMap" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "paramMap" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "modelAttr" appears 4 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "Set by model method [modelAttr]" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "Set by model method [modelAttrByConvention]" appears 2 times in the file. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203
 Warning extension MultipleStringLiteralsExtended The String "customArg" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "url" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "Hello Server" appears 3 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "Handled requestBody=[Hello Server]" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "requestPart" appears 4 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "content" appears 3 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "error count" appears 2 times in the file. 283
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291
 Warning extension MultipleStringLiteralsExtended The String "Handled requestBody=[" appears 2 times in the file. 360
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 360

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 6 times in the file. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension MultipleStringLiteralsExtended The String "Cache-Control" appears 2 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension MultipleStringLiteralsExtended The String "maa" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "lAttr1" appears 4 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "attr1" appears 5 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "gAttr2" appears 5 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "attr2" appears 5 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "attr3" appears 2 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 247

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "json" appears 4 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension MultipleStringLiteralsExtended The String "/${pattern}/bar" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 2 times in the file. 128

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestPartIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "contextConfigLocation" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "contextClass" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'TestData' does not extend anything. 188

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestPartMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "requestPart" appears 4 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "text/plain" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "MultipartFile parameter not supported" appears 2 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 2 times in the file. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 3 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "multipart/form-data" appears 3 times in the file. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension MultipleStringLiteralsExtended The String "requestPart1" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "Hello World 1" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "requestPart2" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "Hello World 2" appears 2 times in the file. 202
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 3 times in the file. 250
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 278

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorMockTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 6 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 4 times in the file. 160
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 172
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 195
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 204
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 5 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 251
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 263
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 291

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 6 times in the file. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension MultipleStringLiteralsExtended The String "Jad" appears 4 times in the file. 123
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension MultipleStringLiteralsExtended The String "{\"name\" : \"Jad\"}" appears 3 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 2 times in the file. 150
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension MultipleStringLiteralsExtended The String "foobarbaz" appears 2 times in the file. 165
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 184
 Warning extension MultipleStringLiteralsExtended The String "handleDto" appears 2 times in the file. 192
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 200
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 220
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 2 times in the file. 234
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 236
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 4 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 3 times in the file. 243
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 248
 Warning extension MultipleStringLiteralsExtended The String "text/plain;charset=UTF-8" appears 2 times in the file. 261
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 263
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 278
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 291
 Warning extension MultipleStringLiteralsExtended The String "handleResponseBody" appears 2 times in the file. 301
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 305
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension MultipleStringLiteralsExtended The String "\"withView1\":\"with\"" appears 2 times in the file. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension MultipleStringLiteralsExtended The String "\"withView2\":\"with\"" appears 2 times in the file. 316
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 317
 Warning extension MultipleStringLiteralsExtended The String "\"withoutView\":\"without\"" appears 2 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "handleResponseEntity" appears 2 times in the file. 322
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 326
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 337
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 338
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 347
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 357
 Warning extension MultipleStringLiteralsExtended The String "<withView1>with</withView1>" appears 2 times in the file. 357
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension MultipleStringLiteralsExtended The String "<withView2>with</withView2>" appears 2 times in the file. 358
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 359
 Warning extension MultipleStringLiteralsExtended The String "<withoutView>without</withoutView>" appears 2 times in the file. 359
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 370
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 380
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 2 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "with" appears 4 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "without" appears 2 times in the file. 522

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandlerTests.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 95 position 45 need optimization. All method calls are advised to move to end of logic expression. 95
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "message" appears 3 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "error content" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "someHeaderValue" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "someHeader" appears 2 times in the file. 211

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationControllerHandlerMethodTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 77 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 3 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "/myPath.do" appears 20 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "Invalid response status code" appears 4 times in the file. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "myHeader" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "conversionService" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "webBindingInitializer" appears 4 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "handlerAdapter" appears 10 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 280
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 296
 Warning extension MultipleStringLiteralsExtended The String "PUT" appears 11 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 21 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "viewResolver" appears 12 times in the file. 314
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 323
 Warning extension MultipleStringLiteralsExtended The String "/myPage" appears 8 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "page1" appears 8 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "viewName" appears 9 times in the file. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension MultipleStringLiteralsExtended The String "object1" appears 20 times in the file. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 343
 Warning extension MultipleStringLiteralsExtended The String "object2" appears 20 times in the file. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension MultipleStringLiteralsExtended The String "model" appears 21 times in the file. 344
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 345
 Warning extension MultipleStringLiteralsExtended The String "page2" appears 8 times in the file. 351
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension MultipleStringLiteralsExtended The String "advisor" appears 3 times in the file. 368
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 377
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 378
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 380
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 389
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 390
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 408
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 410
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension MultipleStringLiteralsExtended The String "testBeanList" appears 5 times in the file. 412
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 419
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 422
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 423
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 441
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 443
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 444
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 445
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 452
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 454
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 456
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 4 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 5 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "param2" appears 4 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "10" appears 4 times in the file. 487
 Warning extension MultipleStringLiteralsExtended The String "name" appears 10 times in the file. 496
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 5 times in the file. 496
 Warning extension MultipleStringLiteralsExtended The String "age" appears 18 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 10 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "myView-name1-typeMismatch-tb1-myValue" appears 2 times in the file. 526
 Warning extension MultipleStringLiteralsExtended The String "defaultName" appears 6 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "myDefaultName" appears 4 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "date" appears 8 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "2007-10-02" appears 8 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "myView-String:myDefaultName-typeMismatch-tb1-myOriginalValue" appears 3 times in the file. 586
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 597
 Warning extension MultipleStringLiteralsExtended The String "myView" appears 11 times in the file. 684
 Warning extension MultipleStringLiteralsExtended The String "servletContext" appears 3 times in the file. 685
 Warning extension MultipleStringLiteralsExtended The String "servletConfig" appears 3 times in the file. 686
 Warning extension MultipleStringLiteralsExtended The String "sessionId" appears 3 times in the file. 687
 Warning extension MultipleStringLiteralsExtended The String "requestUri" appears 3 times in the file. 688
 Warning extension MultipleStringLiteralsExtended The String "locale" appears 2 times in the file. 689
 Warning extension MultipleStringLiteralsExtended The String "view" appears 2 times in the file. 702
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 702
 Warning extension MultipleStringLiteralsExtended The String "myOtherView" appears 7 times in the file. 705
 Warning extension MultipleStringLiteralsExtended The String "myLangView" appears 7 times in the file. 712
 Warning extension MultipleStringLiteralsExtended The String "mySurpriseView" appears 6 times in the file. 718
 Warning extension MultipleStringLiteralsExtended The String "/myApp/myHandle" appears 2 times in the file. 732
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 798
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 799
 Warning extension MultipleStringLiteralsExtended The String "method1" appears 2 times in the file. 810
 Warning extension MultipleStringLiteralsExtended The String "/something" appears 30 times in the file. 817
 Warning extension MultipleStringLiteralsExtended The String "Hello World" appears 9 times in the file. 818
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 11 times in the file. 819
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 13 times in the file. 820
 Warning extension MultipleStringLiteralsExtended The String "text/plain; charset=utf-8" appears 7 times in the file. 820
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 20 times in the file. 821
 Warning extension MultipleStringLiteralsExtended The String "text/*, */*" appears 4 times in the file. 821
 Warning extension MultipleStringLiteralsExtended The String "messageConverters" appears 5 times in the file. 850
 Warning extension MultipleStringLiteralsExtended The String "*/*" appears 2 times in the file. 873
 Warning extension MultipleStringLiteralsExtended The String "application/pdf" appears 5 times in the file. 893
 Warning extension MultipleStringLiteralsExtended The String "MyRequestHeader" appears 2 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "MyValue" appears 6 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "MyResponseHeader" appears 4 times in the file. 948
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 967
 Warning extension MultipleStringLiteralsExtended The String "application" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 3 times in the file. 982
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1006
 Warning extension MultipleStringLiteralsExtended The String "pdf" appears 7 times in the file. 1035
 Warning extension MultipleStringLiteralsExtended The String "text/html" appears 7 times in the file. 1038
 Warning extension MultipleStringLiteralsExtended The String "text" appears 5 times in the file. 1041
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 4 times in the file. 1044
 Warning extension MultipleStringLiteralsExtended The String "non-pdf" appears 2 times in the file. 1087
 Warning extension MultipleStringLiteralsExtended The String "html" appears 5 times in the file. 1098
 Warning extension MultipleStringLiteralsExtended The String "xml" appears 8 times in the file. 1104
 Warning extension MultipleStringLiteralsExtended The String "application/xml, text/html" appears 2 times in the file. 1107
 Warning extension MultipleStringLiteralsExtended The String "text/html;q=0.9, application/xml" appears 2 times in the file. 1113
 Warning extension MultipleStringLiteralsExtended The String "application/msword" appears 2 times in the file. 1119
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 1167
 Warning extension MultipleStringLiteralsExtended The String "/" appears 7 times in the file. 1184
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 5 times in the file. 1187
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 3 times in the file. 1195
 Warning extension MultipleStringLiteralsExtended The String "noParams" appears 2 times in the file. 1209
 Warning extension MultipleStringLiteralsExtended The String "Pattern" appears 2 times in the file. 1228
 Warning extension MultipleStringLiteralsExtended The String "/map" appears 2 times in the file. 1244
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1246
 Warning extension MultipleStringLiteralsExtended The String "value21" appears 2 times in the file. 1246
 Warning extension MultipleStringLiteralsExtended The String "value22" appears 2 times in the file. 1246
 Warning extension MultipleStringLiteralsExtended The String "/multiValueMap" appears 2 times in the file. 1252
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1265
 Warning extension MultipleStringLiteralsExtended The String "Content-Type=[text/html],Custom-Header=[value21,value22]" appears 2 times in the file. 1275
 Warning extension MultipleStringLiteralsExtended The String "/handle" appears 6 times in the file. 1289
 Warning extension MultipleStringLiteralsExtended The String "handle null" appears 2 times in the file. 1292
 Warning extension MultipleStringLiteralsExtended The String "p" appears 2 times in the file. 1295
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 1295
 Warning extension MultipleStringLiteralsExtended The String "handle value" appears 2 times in the file. 1298
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 2 times in the file. 1332
 Warning extension MultipleStringLiteralsExtended The String "templatePath" appears 2 times in the file. 1343
 Warning extension MultipleStringLiteralsExtended The String "/singleString" appears 2 times in the file. 1367
 Warning extension MultipleStringLiteralsExtended The String "content" appears 9 times in the file. 1368
 Warning extension MultipleStringLiteralsExtended The String "Juergen" appears 10 times in the file. 1368
 Warning extension MultipleStringLiteralsExtended The String "/stringArray" appears 4 times in the file. 1392
 Warning extension MultipleStringLiteralsExtended The String "Eva" appears 2 times in the file. 1419
 Warning extension MultipleStringLiteralsExtended The String "Juergen-Eva" appears 2 times in the file. 1422
 Warning extension MultipleStringLiteralsExtended The String "home" appears 3 times in the file. 1484
 Warning extension MultipleStringLiteralsExtended The String "homeJson" appears 2 times in the file. 1503
 Warning extension MultipleStringLiteralsExtended The String "/messages" appears 2 times in the file. 1510
 Warning extension MultipleStringLiteralsExtended The String "messages/new" appears 2 times in the file. 1519
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1520
 Warning extension MultipleStringLiteralsExtended The String "yay!" appears 2 times in the file. 1531
 Warning extension MultipleStringLiteralsExtended The String "successMessage" appears 3 times in the file. 1531
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1542
 Warning extension MultipleStringLiteralsExtended The String "count:3" appears 2 times in the file. 1561
 Warning extension MultipleStringLiteralsExtended The String "Hello World!" appears 2 times in the file. 1576
 Warning extension MultipleStringLiteralsExtended The String "Wrong status code" appears 2 times in the file. 1585
 Warning extension MultipleStringLiteralsExtended The String "Wrong number of headers" appears 2 times in the file. 1586
 Warning extension MultipleStringLiteralsExtended The String "/test/items/123" appears 2 times in the file. 1587
 Warning extension MultipleStringLiteralsExtended The String "Expected an empty content" appears 2 times in the file. 1588
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 12 times in the file. 1637
 Warning extension MultipleStringLiteralsExtended The String "-" appears 36 times in the file. 1637
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1820
 Warning extension MultipleStringLiteralsExtended The String "tb1" appears 4 times in the file. 1821
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 4 times in the file. 1822
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1846
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1873
 Warning extension MultipleStringLiteralsExtended The String "myKey" appears 6 times in the file. 1884
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1910
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1953
 Warning extension MultipleStringLiteralsExtended The String "ITestBean" appears 3 times in the file. 1953
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 3 times in the file. 1960
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 2 times in the file. 1991
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 4 times in the file. 1995
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2191
 Warning extension MultipleStringLiteralsExtended The String "myCommand" appears 2 times in the file. 2229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2242
 Warning extension MoveVariableInsideIf Variable 'testBeans' can be moved inside the block at line '2,245' to restrict runtime creation. 2244
 Warning extension MultipleStringLiteralsExtended The String "yourKey" appears 2 times in the file. 2249
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 2731
 Warning extension MultipleStringLiteralsExtended The String "=[" appears 2 times in the file. 2744

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletCookieValueMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 2 times in the file. 69

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethodTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 129
 Warning extension MultipleStringLiteralsExtended The String "handle" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "view" appears 3 times in the file. 155
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 173
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 181
 Warning extension MultipleStringLiteralsExtended The String "handleDeferred" appears 3 times in the file. 184
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 195
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 210

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletModelAttributeMethodProcessorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension MultipleStringLiteralsExtended The String "testBean1" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "Patty" appears 12 times in the file. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 105
 Warning extension MultipleStringLiteralsExtended The String "testBean2" appears 4 times in the file. 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 118
 Warning extension MultipleStringLiteralsExtended The String "testBean3" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 168
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 203

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletRequestMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 13 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "The requestHandled flag shouldn't change" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Locale not supported" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "TimeZone not supported" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "ZoneId not supported" appears 2 times in the file. 168

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletResponseMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ServletResponse not supported" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Invalid result" appears 4 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/UriComponentsBuilderMethodArgumentResolverTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/UriTemplateServletAnnotationControllerHandlerMethodTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 27 times in the file. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension MultipleStringLiteralsExtended The String "42" appears 7 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "/hotels/42/dates/2008-foo-bar" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "specific" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "test-42-21" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "/hotels/42" appears 5 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "test-42" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "/hotels" appears 4 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "list" appears 3 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 5 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "show-42" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "DELETE" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "/hotels/1" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "handle4-page-5" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "foo-foo" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "/foo/100" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "/module/100" appears 2 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "Invalid path variable value" appears 12 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 7 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "-" appears 6 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "-q" appears 2 times in the file. 405
 Warning extension MultipleStringLiteralsExtended The String "category-" appears 2 times in the file. 595
 Warning extension MultipleStringLiteralsExtended The String "page-" appears 2 times in the file. 596
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 649

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ViewMethodReturnValueHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension MultipleStringLiteralsExtended The String "view" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "testView" appears 2 times in the file. 63

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ViewNameMethodReturnValueHandlerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension MultipleStringLiteralsExtended The String "testView" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "redirect:testView" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "myRedirect:*" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "myRedirect:testView" appears 2 times in the file. 80

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/multiaction/MultiActionControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo.html" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar.html" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 32 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Wrong method name resolved" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "action" appears 6 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown NoSuchRequestHandlingMethodException" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "myparam" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 4 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "spring" appears 8 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "colin" appears 4 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "goodbye" appears 4 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "nina" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "whatever" appears 10 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "reset" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "/welcome.html" appears 8 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "welcome" appears 11 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "Invoked welcome method" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "view name is welcome" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "Only one method invoked" appears 6 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 213
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 240
 Warning extension MultipleStringLiteralsExtended The String "/inSession.html" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "inSession" appears 4 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "Must have rejected request without session" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "rod" appears 2 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "age" appears 2 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "32" appears 2 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "commandNoSession" appears 4 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "/commandInSession.html" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "commandInSession" appears 4 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "/testSession.html" appears 2 times in the file. 315
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown exception" appears 2 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "handle(SRE)" appears 3 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "/testException.html" appears 2 times in the file. 333
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 340
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 341
 Warning extension MultipleStringLiteralsExtended The String "handle(Exception)" appears 4 times in the file. 386
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension MultipleStringLiteralsExtended The String "handle(ServletException)" appears 6 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "Invoke correct method" appears 4 times in the file. 395
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 398
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 409
 Warning extension MultipleStringLiteralsExtended The String "handle(RTE)" appears 6 times in the file. 409
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView cannot be null" appears 4 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView should not have a view" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "/index.html" appears 3 times in the file. 439
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 445
 Warning extension MultipleStringLiteralsExtended The String "exception" appears 4 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView must be null" appears 2 times in the file. 466
 Warning extension MultipleStringLiteralsExtended The String "ModelAndView must have a view" appears 2 times in the file. 488
 Warning extension MultipleStringLiteralsExtended The String "Verifying view name" appears 2 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "welcomeString" appears 2 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "handleIllegalStateExceptionString" appears 2 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "throwable" appears 2 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "session non null" appears 2 times in the file. 546

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "No ModelAndView returned" appears 13 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "No Empty ModelAndView returned" appears 13 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Invalid status code" appears 13 times in the file. 71
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 77
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 146

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/support/ParameterizableViewControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "view" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "redirect:/foo" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "3xx status should be left to RedirectView to set" appears 2 times in the file. 93

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/support/RedirectAttributesModelMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "speed" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "person" appears 9 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Fred" appears 16 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101
 Warning extension MultipleStringLiteralsExtended The String "age" appears 6 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "33" appears 3 times in the file. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "Ralph" appears 2 times in the file. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/AppCacheManifestTransformerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should rewrite resource links" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "should not rewrite external resources" appears 2 times in the file. 104

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/CachingResourceResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "bar.css" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "invalid.css" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "imaginary.css" appears 2 times in the file. 100

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ContentBasedVersionStrategyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "7fbe76cdac6093784895bb4989203e5a" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "foo/bar.css" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test/bar.css" appears 2 times in the file. 65

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/CssLinkResourceTransformerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "\r" appears 2 times in the file. 80

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/FixedVersionStrategyTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 42
 Warning extension MultipleStringLiteralsExtended The String "/" appears 4 times in the file. 49

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/GzipResourceResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo-e36d2e05253c6c7085a91522ce43a0b4.css" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension MultipleStringLiteralsExtended The String "Accept-Encoding" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "gzip" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String ".gz" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Expected " appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " to be of type " appears 2 times in the file. 100

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/PathResourceResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "./test/" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test/main.css" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "../testalternatepath/bar.css" appears 2 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "testalternatepath/" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "foo.css" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "text/css" appears 3 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension MultipleStringLiteralsExtended The String "Expires" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "max-age=3600, must-revalidate" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Cache-Control" appears 3 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "Last-Modified" appears 6 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "test/foo.css" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "h1 { color:red; }" appears 3 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension MultipleStringLiteralsExtended The String "text/javascript" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "function foo() { console.log(\"hello world\"); }" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "url:" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "/" appears 5 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 15 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "foo/bar" appears 5 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "If-Modified-Since" appears 2 times in the file. 233
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 261
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 266

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceTransformerSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "/context/servlet/resources/main.css" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "/context" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "/servlet" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "/context/servlet/resources/bar.css" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "test/main.css" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "/context/servlet/resources/bar-11e16cf79faee7ac698c805cf28248d2.css" appears 2 times in the file. 80

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 63

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceUrlProviderJavaConfigTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/myapp/myservlet/index" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "/myservlet" appears 2 times in the file. 86

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceUrlProviderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/resources/**" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/resources/foo.css" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 2 times in the file. 80
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 84
 Warning extension MultipleStringLiteralsExtended The String "/resources/foo-e36d2e05253c6c7085a91522ce43a0b4.css" appears 2 times in the file. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/VersionResourceResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test/" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "bar.css" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/**" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "bar-version.css" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "version" appears 3 times in the file. 101

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/AnnotationConfigDispatcherServletInitializerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "role" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "/myservlet" appears 2 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 4 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 153
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 174
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 232
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 252

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/DispatcherServletInitializerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "role" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/myservlet" appears 2 times in the file. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 3 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 117

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/FlashMapManagerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 10 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value" appears 10 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "/accounts" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Input FlashMap should have been removed" appears 5 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "number" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "FlashMap should not have been removed" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "/one/two" appears 2 times in the file. 166
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension MultipleStringLiteralsExtended The String "/once/upon/a/time" appears 5 times in the file. 233

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/MockFilterRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 30
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 64
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 74
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 94
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 99

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/MockServletRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 32
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 90
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 110
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 115

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/RequestContextTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 46
 Warning extension MultipleStringLiteralsExtended The String "foo/" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 66
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "spam" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "{foo}?spam={spam}" appears 2 times in the file. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/RequestDataValueProcessorWrapper.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 26
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 47

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/support/ServletUriComponentsBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "localhost" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "/mvc-showcase" appears 5 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/mvc-showcase/data/param" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "foo=123" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "http://localhost/mvc-showcase/data/param?foo=123" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "https" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "/bar" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "X-Forwarded-Prefix" appears 4 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "http://localhost/foo/bar" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "/prefix" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "/mvc-showcase/app/simple" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "/app" appears 2 times in the file. 150

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/ArgumentTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 2 times in the file. 95

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/BindTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 70 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Correct doStartTag return value" appears 28 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Has status variable" appears 23 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Correct expression" appears 20 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Correct value" appears 20 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Correct displayValue" appears 17 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "Correct isError" appears 19 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Correct errorCodes" appears 14 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Correct errorMessages" appears 14 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Correct errorCode" appears 26 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "Correct errorMessage" appears 26 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Correct errorMessagesAsString" appears 10 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "," appears 8 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "code1" appears 27 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "message1" appears 21 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "tb.*" appears 6 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "*" appears 6 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "message2" appears 21 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 11 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "name" appears 19 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "message & 1" appears 7 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "code2" appears 18 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "age" appears 7 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "tb.name" appears 12 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "message &amp; 1" appears 4 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "message &amp; 1 - message2" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String " - " appears 5 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "tb.age" appears 4 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 3 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "array[0]" appears 6 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "tb.array[0]" appears 2 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "Value is TestBean" appears 3 times in the file. 468
 Warning extension MultipleStringLiteralsExtended The String "map[key1]" appears 3 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 512
 Warning extension MultipleStringLiteralsExtended The String "juergen&eva" appears 5 times in the file. 539
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 545
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 546
 Warning extension MultipleStringLiteralsExtended The String "juergen&amp;eva" appears 2 times in the file. 546
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 559
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 628
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 649
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 666
 Warning extension MultipleStringLiteralsExtended The String "foo." appears 3 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "Correct field value" appears 3 times in the file. 737
 Warning extension MultipleStringLiteralsExtended The String "tb2" appears 2 times in the file. 762
 Warning extension MultipleStringLiteralsExtended The String "tb2.name" appears 2 times in the file. 773
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 6 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "tb.date" appears 3 times in the file. 794
 Warning extension MultipleStringLiteralsExtended The String "theDate" appears 6 times in the file. 802
 Warning extension MultipleStringLiteralsExtended The String "theString" appears 9 times in the file. 818
 Warning extension MultipleStringLiteralsExtended The String "var" appears 2 times in the file. 866
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 2 times in the file. 867
 Warning extension MultipleStringLiteralsExtended The String "theString2" appears 2 times in the file. 913
 Warning extension MultipleStringLiteralsExtended The String "page" appears 2 times in the file. 941

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/EvalTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "bean.formattable" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String ".25" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "not the bean object" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "bean2" appears 2 times in the file. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 139
 Warning extension MultipleStringLiteralsExtended The String "value.foo" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 159
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 192

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/HtmlEscapeTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Correct default" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Correctly applied" appears 7 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Correct doStartTag return value" appears 8 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "Correctly enabled" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Correctly disabled" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test text" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "' test & text \\" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "Correct content" appears 2 times in the file. 171

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/MessageTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Correct doStartTag return value" appears 16 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Correct doEndTag return value" appears 21 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Correct message" appears 18 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "test message" appears 10 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "testArgs" appears 10 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "arg1" appears 5 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "test arg1 message arg2" appears 3 times in the file. 127
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 256
 Warning extension MultipleStringLiteralsExtended The String "' test & text \\" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "text & text" appears 4 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "testvar" appears 6 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "testvar2" appears 3 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "default" appears 8 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "arg2" appears 2 times in the file. 399
 Warning extension MultipleStringLiteralsExtended The String "testa" appears 2 times in the file. 402

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/ParamTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 9 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 108

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/ParamTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 41

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/ThemeTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "themetest" appears 6 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "theme test message" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "default" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "theme test message arg1" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "themetestArgs" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "arg1" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "themetesta" appears 2 times in the file. 65

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/UrlTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "url/path" appears 15 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "var" appears 14 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "n me" appears 10 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "v&l=e" appears 6 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "name" appears 25 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 7 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "url/path?n%20me=v%26l%3De&name=value2" appears 2 times in the file. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 209
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 210
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 219
 Warning extension MultipleStringLiteralsExtended The String "value" appears 11 times in the file. 223
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 233
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 234
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 247
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 248
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 261
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 262
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 275
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 276
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 291
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 292
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 310
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 311
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 329
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 330
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 343
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 344
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 357
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 358
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 369
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 370
 Warning extension MultipleStringLiteralsExtended The String "url/{path}" appears 2 times in the file. 372
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 381
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 382
 Warning extension MultipleStringLiteralsExtended The String "url/{name}" appears 4 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "url/value" appears 2 times in the file. 392
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 394
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 399
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 412
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 417
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 418
 Warning extension MultipleStringLiteralsExtended The String "v lue" appears 3 times in the file. 422
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 430
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 437
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 438
 Warning extension MultipleStringLiteralsExtended The String "my/Id" appears 2 times in the file. 442
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 449
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 454
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 466
 Warning extension MultipleStringLiteralsExtended The String "http://www.springframework.org/" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "/app-context" appears 3 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "/url/path" appears 3 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "/some-other-context/url/path" appears 2 times in the file. 514

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/AbstractHtmlElementTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=\"" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 126

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/ButtonTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "My Id" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "My Name" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "My Button" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 3 times in the file. 53

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/CheckboxTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "someBoolean" appears 8 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "<doc>" appears 24 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "</doc>" appears 24 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Both tag and hidden element not rendered" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "input" appears 24 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "checkbox" appears 24 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "type" appears 25 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "name" appears 31 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "checked" appears 40 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "true" appears 7 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "value" appears 20 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "someMap[key]" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "jedi" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 7 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String " Rob Harrop" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 6 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String " foo" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "someIntegerArray" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String " 1" appears 2 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "someList" appears 2 times in the file. 365
 Warning extension MultipleStringLiteralsExtended The String "date" appears 4 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String "otherColours" appears 4 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "pets" appears 10 times in the file. 473
 Warning extension MultipleStringLiteralsExtended The String "Spot" appears 2 times in the file. 474
 Warning extension MultipleStringLiteralsExtended The String "Santa's Little Helper" appears 3 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "Rudiger" appears 5 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 655

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/CheckboxesTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 35 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 18 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 17 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 15 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "<doc>" appears 14 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "</doc>" appears 14 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "input" appears 41 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "checkbox" appears 41 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "type" appears 42 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "name" appears 45 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "checked" appears 72 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "value" appears 41 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "not checked" appears 12 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "br" appears 3 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "FOO" appears 6 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "BAR" appears 6 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "BAZ" appears 6 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "someSet" appears 8 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "PET1" appears 6 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "PET1Label" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "PET2" appears 6 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "PET2Label" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "PET3" appears 5 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "PET3Label" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String " foo" appears 4 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String " bar" appears 4 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String " baz" appears 4 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "pets" appears 12 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "Rudiger" appears 5 times in the file. 478
 Warning extension MultipleStringLiteralsExtended The String "Spot" appears 5 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "Checkers" appears 4 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "Fluffy" appears 5 times in the file. 481
 Warning extension MultipleStringLiteralsExtended The String "Mufty" appears 5 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "label" appears 3 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "RUDIGER" appears 2 times in the file. 504
 Warning extension MultipleStringLiteralsExtended The String "SPOT" appears 2 times in the file. 512
 Warning extension MultipleStringLiteralsExtended The String "CHECKERS" appears 2 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "FLUFFY" appears 2 times in the file. 528
 Warning extension MultipleStringLiteralsExtended The String "MUFTY" appears 2 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "should be checked" appears 2 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 691
 Warning extension MultipleStringLiteralsExtended The String "element" appears 2 times in the file. 698

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/ErrorsTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 24 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 8 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "some.code" appears 17 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Default Message" appears 14 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "id" appears 7 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "name.errors" appears 7 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "too.short" appears 8 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "Too Short" appears 9 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "<br/>" appears 5 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "Default <> Message" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "Too & Short" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "COMMAND_NAME" appears 8 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 3 times in the file. 314
 Warning extension MultipleStringLiteralsExtended The String "something" appears 3 times in the file. 323
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension MultipleStringLiteralsExtended The String "object error" appears 6 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "field error" appears 6 times in the file. 399
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 405
 Warning extension MultipleStringLiteralsExtended The String "id=\"testBean.errors\"" appears 2 times in the file. 405
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 406
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 407
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 420
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 422
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 435
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 436
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 437
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/FormTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myCommand" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "/form.html" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "my/enctype" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "onsubmit" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "onreset" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Form attribute not exposed" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Form attribute not cleared after tag ends" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "action" appears 4 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "method" appears 8 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "enctype" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "get" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "post" appears 6 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "put" appears 4 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "_method" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "hidden" appears 3 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 2 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "methodParameter" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "model" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "<" appears 2 times in the file. 358
 Warning extension MultipleStringLiteralsExtended The String ">" appears 2 times in the file. 359
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 375

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/HiddenInputTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "hidden" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "Sally Greenwood" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 4 times in the file. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/InputTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Rob" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Sally" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "name" appears 12 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "12" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "readonly" appears 4 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "spouse." appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "bad" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "myFloat" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "number" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 2 times in the file. 346

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/ItemPet.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 53

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/LabelTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "for" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "<label " appears 4 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "</label>" appears 4 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "myElement" appears 2 times in the file. 127
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/OptionTagEnumTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "VALUE_1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "selected" appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/OptionTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean.name" appears 8 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Bar" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "value" appears 11 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "myOption" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 3 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "selected" appears 14 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "myClass" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "CLICK" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "testBean.stringArray" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "someArray" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "Sally" appears 5 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "testBean.someNumber" appears 4 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "GBP 12.34" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "12.34" appears 3 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "GBP 12.35" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "12.34f" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "12.35f" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "some content" appears 3 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 426
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 457
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 522

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/OptionsTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "testBean.country" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "isoCode" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "myOption" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "myClass" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "CLICK" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "<doc>" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "</doc>" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of children" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "option[@value = 'UK']" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "UK node not selected" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "selected" appears 7 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "myOption3" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "onclick" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "12.34" appears 4 times in the file. 154
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 163
 Warning extension MultipleStringLiteralsExtended The String "12.30" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "12.31" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "12.32" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "12.33" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "12.35" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "Option node should not be null" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "No id rendered" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "testBean.testEnum" appears 2 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "option[@selected]" appears 2 times in the file. 259

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/PasswordInputTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 42

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/RadioButtonTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sex" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "M" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "name" appears 9 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "radio" appears 9 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "value" appears 9 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "checked" appears 15 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "myFloat" appears 6 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "F" appears 4 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "pets" appears 6 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "Rudiger" appears 5 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "<doc>" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "</doc>" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "input" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "Santa's Little Helper" appears 2 times in the file. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/RadioButtonsTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "stringArray" appears 27 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 18 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 17 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 15 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "<doc>" appears 10 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "</doc>" appears 10 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "input" appears 29 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "radio" appears 29 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "type" appears 30 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "name" appears 31 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "checked" appears 50 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "value" appears 29 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "not checked" appears 8 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "br" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "FOO" appears 4 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "BAR" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "BAZ" appears 4 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String " foo" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String " bar" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String " baz" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "pets" appears 12 times in the file. 335
 Warning extension MultipleStringLiteralsExtended The String "Rudiger" appears 5 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "Spot" appears 5 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "Checkers" appears 4 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "Fluffy" appears 5 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "Mufty" appears 5 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "label" appears 2 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "RUDIGER" appears 2 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "SPOT" appears 2 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "CHECKERS" appears 2 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "FLUFFY" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "MUFTY" appears 2 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "testEnum" appears 2 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "<div>" appears 2 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "</div>" appears 2 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "//label[@for = '" appears 4 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "@id" appears 4 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "']" appears 4 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "//input[@checked]" appears 2 times in the file. 486
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "element" appears 2 times in the file. 552

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/SelectTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "AT" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "country" appears 13 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "isoCode" appears 21 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "name" appears 38 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "<select id=\"country\" name=\"country\"></select>" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Austria(AT)" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "realCountry" appears 5 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 10 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "Austria" appears 2 times in the file. 197
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension MultipleStringLiteralsExtended The String "<select " appears 7 times in the file. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension MultipleStringLiteralsExtended The String "</select>" appears 7 times in the file. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension MultipleStringLiteralsExtended The String "option value=\"AT\" selected=\"selected\">Austria" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "bean.realCountry" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension MultipleStringLiteralsExtended The String "selected=\"selected\"" appears 2 times in the file. 258
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 259
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 285
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 313
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 314
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 315
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension MultipleStringLiteralsExtended The String "UK" appears 2 times in the file. 346
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension MultipleStringLiteralsExtended The String "someIntegerArray" appears 2 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "<doc>" appears 13 times in the file. 381
 Warning extension MultipleStringLiteralsExtended The String "</doc>" appears 13 times in the file. 381
 Warning extension MultipleStringLiteralsExtended The String "select" appears 29 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "Incorrect number of children" appears 16 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "selected" appears 33 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "myFloat" appears 2 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "12.34" appears 2 times in the file. 411
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 422
 Warning extension MultipleStringLiteralsExtended The String "someList" appears 8 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "option[@value = 'UK']" appears 5 times in the file. 466
 Warning extension MultipleStringLiteralsExtended The String "UK node not selected" appears 4 times in the file. 467
 Warning extension MultipleStringLiteralsExtended The String "option[@value = 'AT']" appears 3 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "AT node not selected" appears 3 times in the file. 471
 Warning extension MultipleStringLiteralsExtended The String "United Kingdom" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "M" appears 3 times in the file. 615
 Warning extension MultipleStringLiteralsExtended The String "Male" appears 2 times in the file. 615
 Warning extension MultipleStringLiteralsExtended The String "F" appears 2 times in the file. 616
 Warning extension MultipleStringLiteralsExtended The String "Female" appears 2 times in the file. 616
 Warning extension MultipleStringLiteralsExtended The String "someMap" appears 4 times in the file. 619
 Warning extension MultipleStringLiteralsExtended The String "option[@value = '" appears 2 times in the file. 716
 Warning extension MultipleStringLiteralsExtended The String "']" appears 2 times in the file. 716
 Warning extension MultipleStringLiteralsExtended The String "Option node not found with Country ISO code value [" appears 2 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "multiple" appears 11 times in the file. 755
 Warning extension MultipleStringLiteralsExtended The String "input" appears 4 times in the file. 760
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 904
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 905
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 934
 Warning extension MultipleStringLiteralsExtended The String "Rob" appears 2 times in the file. 934
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 938
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 947
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 969
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 983

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/TagIdGeneratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "foo3" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foo4" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 38

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/TagWriterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "textarea" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "span" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "strong" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "Harrop" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "<span>Rob Harrop</span>" appears 2 times in the file. 110

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/TextareaTagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 11 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "readonly" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Rob" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "spouse.name" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "myFloat" appears 2 times in the file. 108

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/BaseViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 60
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "something" appears 8 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "else" appears 7 times in the file. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension MultipleStringLiteralsExtended The String "one" appears 7 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "two" appears 4 times in the file. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 169
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 201
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 207
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 217
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension MultipleStringLiteralsExtended The String "king" appears 2 times in the file. 218
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 306
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 329

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/ContentNegotiatingViewResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Accept" appears 12 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "application" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "application_xls" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "view" appears 14 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String ".xls" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "application/vnd.ms-excel" appears 6 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Invalid view" appears 15 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "xls" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "viewResolver1" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "viewResolver2" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "application_xml" appears 10 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "text_html" appears 6 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 5 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "text/html;charset=ISO-8859-1" appears 5 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "application_json" appears 4 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 6 times in the file. 241
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284
 Warning extension MultipleStringLiteralsExtended The String ".html" appears 2 times in the file. 320
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 346
 Warning extension MultipleStringLiteralsExtended The String ".json" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "text/html,application/xhtml+xml,application/xml;q=0.9" appears 2 times in the file. 420
 Warning extension MultipleStringLiteralsExtended The String "application/pdf" appears 2 times in the file. 433

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/DefaultRequestToViewNameTranslatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 7 times in the file. 50
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 126

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/DummyMacroRequestContext.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 72
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 117

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/InternalResourceViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "I" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "forward-to" appears 4 times in the file. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 88
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/RedirectViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 60
 Warning extension MultipleStringLiteralsExtended The String "http://url.somewhere.com" appears 14 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Location" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 7 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "requestDataValueProcessor" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "/path?key=123" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "/myUrl" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 216
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 217
 Warning extension MultipleStringLiteralsExtended The String "?" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "=" appears 16 times in the file. 219
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 228
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 239
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 258
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 261
 Warning extension MultipleStringLiteralsExtended The String "http://url.somewhere.com?" appears 7 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "&" appears 7 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 276
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 277
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 279
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 294
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 297
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 299
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 319
 Warning extension MultipleStringLiteralsExtended The String "/context" appears 2 times in the file. 374

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/RedirectViewUriTemplateTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "http://url.somewhere.com" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "/{foo}" appears 2 times in the file. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension MultipleStringLiteralsExtended The String "/foo/{foo}" appears 2 times in the file. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 98
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 103
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 116
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/ResourceBundleViewResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testParent" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanIsAbstractException" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "debugView" appears 6 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "French debugView must be of type InternalResourceView" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "French debugView must have correct URL" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "jsp/debug/deboug.jsp" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Correct overridden (XML) content type, not '" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "text/xml;charset=ISO-8859-1" appears 2 times in the file. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 144

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/ViewResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "url" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "/example1.jsp" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "example1" appears 19 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "/example2.jsp" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "example2" appears 12 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Correct view class" appears 18 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Correct URL" appears 18 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "myContentType" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "rc" appears 7 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "Correct textContentType" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 11 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "Correct tb attribute" appears 6 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "Correct rc attribute" appears 6 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "redirect:myUrl" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "myUrl" appears 4 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "forward:myUrl" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 8 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 8 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 8 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "myBean" appears 5 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "myBean2" appears 7 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "code1" appears 4 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "messageX" appears 3 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "Correct test1 attribute" appears 2 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "testvalue1" appears 2 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "Correct test2 attribute" appears 2 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "Correct default location" appears 2 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown BeanDefinitionStoreException" appears 2 times in the file. 451
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 471
 Warning extension MultipleStringLiteralsExtended The String "view" appears 7 times in the file. 522

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/document/ExcelViewTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Test Sheet" appears 6 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "Test Value" appears 34 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "nl" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "Sheet1" appears 12 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "template" appears 6 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "Test Template" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "en" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "US" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Test Template American English" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "de" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "Test Template auf Deutsch" appears 2 times in the file. 203

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/feed/AtomFeedViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 81

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/feed/RssFeedViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/freemarker/FreeMarkerConfigurerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 47
 Warning extension MultipleStringLiteralsExtended The String "file:/mydir" appears 3 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 80

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/freemarker/FreeMarkerMacroTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test.ftl" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "java.io.tmpdir" appears 2 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 2 times in the file. 101
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 127
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 130
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 135
 Warning extension MultipleStringLiteralsExtended The String "Darren" appears 3 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "<input type=\"text\" id=\"name\" name=\"name\" value=\"Darren\" >" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "<input type=\"password\" id=\"name\" name=\"name\" value=\"\" >" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "<input type=\"hidden\" id=\"name\" name=\"name\" value=\"Darren\" >" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "Wrong output: " appears 6 times in the file. 252
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 2 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "world" appears 2 times in the file. 286
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 288
 Warning extension MultipleStringLiteralsExtended The String "Fred" appears 3 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "John" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "command" appears 2 times in the file. 300
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 302
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 332
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 334

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/freemarker/FreeMarkerViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension MultipleStringLiteralsExtended The String "configurer" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "templateName" appears 3 times in the file. 103
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112
 Warning extension MultipleStringLiteralsExtended The String "myattr" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "myvalue" appears 3 times in the file. 113
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension MultipleStringLiteralsExtended The String "myContentType" appears 2 times in the file. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "Correct view class" appears 3 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "Correct URL" appears 3 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "prefix_test_suffix" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "myUrl" appears 2 times in the file. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/web/servlet/view/groovy/" appears 3 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension MultipleStringLiteralsExtended The String "i18n.tpl" appears 4 times in the file. 142
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 163

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/groovy/GroovyMarkupViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension MultipleStringLiteralsExtended The String "engine" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "test.tpl" appears 2 times in the file. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 115
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "i18n.tpl" appears 5 times in the file. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Spring" appears 2 times in the file. 143

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/AbstractJasperReportsTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 75
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 101

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/AbstractJasperReportsViewTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MeineSeite" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 95
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 100
 Warning extension MultipleStringLiteralsExtended The String "dataSource" appears 13 times in the file. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "reportData" appears 8 times in the file. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "otherData" appears 4 times in the file. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension MultipleStringLiteralsExtended The String "SubReportData" appears 6 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "ProductsSubReport" appears 3 times in the file. 209
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/ui/jasperreports/subReportChildFalse.jrxml" appears 2 times in the file. 231
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 236
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 247
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 255
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 258
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 286
 Warning extension MultipleStringLiteralsExtended The String "Invalid content type" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "Content-Disposition" appears 3 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "DataSource was not used as report DataSource" appears 2 times in the file. 350
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 391
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 415

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/ConfigurableJasperReportsViewWithStreamTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "application/pdf" appears 2 times in the file. 31

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/ConfigurableJasperReportsViewWithWriterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text/html" appears 2 times in the file. 31

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/ExporterParameterTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 2 times in the file. 44
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 3 times in the file. 72
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 93
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 107

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/JasperReportViewResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/ui/jasperreports/" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String ".jasper" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "DataSourceReport" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "View should not be null" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Incorrect URL" appears 2 times in the file. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 65
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatViewTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "csv" appears 3 times in the file. 40
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatViewWithCustomMappingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fmt" appears 2 times in the file. 31
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 33
 Warning extension MultipleStringLiteralsExtended The String "comma-separated" appears 2 times in the file. 35

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/json/MappingJackson2JsonViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 93
 Warning extension MultipleStringLiteralsExtended The String "bindingResult" appears 4 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "binding_result" appears 4 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 17 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Pragma" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Cache-Control" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "Expires" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension MultipleStringLiteralsExtended The String "application/json" appears 2 times in the file. 119
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension MultipleStringLiteralsExtended The String "{} && " appears 2 times in the file. 181
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 229
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 3 times in the file. 231
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 244
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 2 times in the file. 272
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 284
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 295
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension MultipleStringLiteralsExtended The String "boo" appears 2 times in the file. 296
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 297
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 302
 Warning extension MultipleStringLiteralsExtended The String "otherparam" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "jsonp" appears 2 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "jsonpCallback" appears 3 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "jsonpCallback({\"foo\":\"bar\"});" appears 3 times in the file. 310
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 315
 Warning extension MultipleStringLiteralsExtended The String "callback" appears 2 times in the file. 318
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 328
 Warning extension MultipleStringLiteralsExtended The String "custom" appears 3 times in the file. 331

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/tiles3/TilesViewResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/template.test" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/nonexistent.test" appears 3 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/tiles3/TilesViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 78
 Warning extension MultipleStringLiteralsExtended The String "modelAttribute" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "modelValue" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/TestVelocityEngine.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'addTemplate' is called in constructor body. 39

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/VelocityConfigurerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "myprop" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/mydir" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "myentry" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "file:/mydir" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 96
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 102
 Warning extension MultipleStringLiteralsExtended The String "file:/mydir,file:/yourdir" appears 2 times in the file. 127

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/VelocityMacroTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 2 times in the file. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 128
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 4 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Howdy" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "world" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "Mundo" appears 2 times in the file. 130
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 132
 Warning extension MultipleStringLiteralsExtended The String "Howdy!" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "Mundo!" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "/springtest" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "Darren" appears 5 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "John" appears 4 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "Fred" appears 5 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "command" appears 4 times in the file. 141
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 143
 Warning extension MultipleStringLiteralsExtended The String "Darren Davison" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "John Doe" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Fred Bloggs" appears 2 times in the file. 146
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 152
 Warning extension MultipleStringLiteralsExtended The String "springMacroRequestContext" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "nameOptionMap" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "myView" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "\t\n" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "FORM1" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "FORM2" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "FORM3" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "FORM4" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "FORM9" appears 3 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "FORM15" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "FORM16" appears 2 times in the file. 188
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 197
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 201
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 215
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 224
 Warning extension MultipleStringLiteralsExtended The String "FORM8" appears 2 times in the file. 250

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension MultipleStringLiteralsExtended The String "myView" appears 3 times in the file. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 97
 Warning extension MultipleStringLiteralsExtended The String "command" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "juergen" appears 3 times in the file. 98
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 105
 Warning extension MultipleStringLiteralsExtended The String "runtime.references.strict" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 167

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/VelocityToolboxViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 58
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "math" appears 2 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "link" appears 2 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "link2" appears 3 times in the file. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/VelocityViewResolverTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "prefix_test_suffix" appears 8 times in the file. 28
 Warning extension MultipleStringLiteralsExtended The String "configurer" appears 4 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "prefix_" appears 4 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "_suffix" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Correct view class" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Correct URL" appears 6 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "myUrl" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "org/springframework/web/servlet/view/velocity/toolbox.xml" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Correct toolbox" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "myLayoutUrl" appears 2 times in the file. 122

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/velocity/VelocityViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "test.vm" appears 3 times in the file. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension MultipleStringLiteralsExtended The String "velocityConfigurer" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "requestDataValueProcessor" appears 2 times in the file. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 164
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 185
 Warning extension MultipleStringLiteralsExtended The String "myContentType" appears 2 times in the file. 194
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension MultipleStringLiteralsExtended The String "myHelper" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "myValue" appears 3 times in the file. 204
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 245
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension MultipleStringLiteralsExtended The String "math" appears 2 times in the file. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension MultipleStringLiteralsExtended The String "dateTool" appears 3 times in the file. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 255
 Warning extension MultipleStringLiteralsExtended The String "numberTool" appears 3 times in the file. 255
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 268

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/xml/MappingJackson2XmlViewTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 86
 Warning extension MultipleStringLiteralsExtended The String "bindingResult" appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "binding_result" appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 14 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Pragma" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "Cache-Control" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Expires" appears 2 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 108
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 2 times in the file. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 138
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 189
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 3 times in the file. 192
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 197
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 198
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 200
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 205
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 208
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 232
 Warning extension MultipleStringLiteralsExtended The String "boo" appears 2 times in the file. 232
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/xml/MarshallingViewTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Invalid content type" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "application/xml" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Must not expose path variables" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "key" appears 8 times in the file. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 76
 Warning extension MultipleStringLiteralsExtended The String "Invalid content length" appears 6 times in the file. 87
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension MultipleStringLiteralsExtended The String "IllegalStateException expected" appears 4 times in the file. 122
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 133
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 154
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 175
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 193
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213

spring-framework/spring-webmvc/src/test/java/org/springframework/web/servlet/view/xslt/XsltViewTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 65
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 71
 Warning extension MultipleStringLiteralsExtended The String "someKey" appears 8 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "actualData" appears 4 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "otherData" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "dummyData.xsl" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension MultipleStringLiteralsExtended The String "title" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "Product List" appears 4 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169

spring-framework/spring-webmvc/src/test/java/org/springframework/web/util/NestedServletExceptionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 13

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/BinaryMessage.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 68

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 164
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 208

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/PingMessage.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 52

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/PongMessage.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 52

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/TextMessage.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 73
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 79

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/WebSocketExtension.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 109
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 110

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/WebSocketHttpHeaders.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 111
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 124

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/AbstractWebSocketSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 75
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 86
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 97
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 110
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 122
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 132

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketSession.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/standard/ConvertingEncoderDecoderSupport.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unable to decode websocket message using ConversionService" appears 2 times in the file. 188

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/standard/StandardWebSocketHandlerAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 103
 Warning extension RedundantReturn Redundant return. 105
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 114
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 124
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 134
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 145
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 155

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/standard/StandardWebSocketSession.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 172

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/adapter/standard/WebSocketToStandardExtensionAdapter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 36

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/AbstractWebSocketClient.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/ConnectionManagerSupport.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/WebSocketConnectionManager.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'decorateWebSocketHandler' is called in constructor body. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/jetty/JettyWebSocketClient.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 137
 Warning extension ReturnCountExtended Return count for 'doHandshakeInternal' method is 2 (max allowed is 1). 153
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 185

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/standard/AnnotatedEndpointConnectionManager.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 131

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/standard/EndpointConnectionManager.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 165

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/client/standard/StandardWebSocketClient.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'doHandshakeInternal' method is 2 (max allowed is 1). 106
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 135
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 162

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/HandlersBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 85
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "handler" appears 2 times in the file. 125
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 171

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/MessageBrokerBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "subProtocolWebSocketHandler" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 115
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117
 Warning extension MultipleStringLiteralsExtended The String "," appears 5 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "brokerChannel" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "core-pool-size" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "corePoolSize" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "max-pool-size" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "maxPoolSize" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "keep-alive-seconds" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "queue-capacity" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "queueCapacity" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "Executor" appears 3 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "interceptors" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "message-size" appears 2 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "send-timeout" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "send-buffer-size" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "path-matcher" appears 4 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "pathMatcher" appears 2 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "relay-host" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "relay-port" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "client-login" appears 2 times in the file. 335
 Warning extension MultipleStringLiteralsExtended The String "client-passcode" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "system-login" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "system-passcode" appears 2 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "heartbeat-send-interval" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "heartbeat-receive-interval" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "virtual-host" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "bean" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "user-destination-prefix" appears 4 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "userDestinationPrefix" appears 2 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "messageConverter" appears 2 times in the file. 410
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 449

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketMessageBrokerStats.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 110 position 29 need optimization. All method calls are advised to move to end of logic expression. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 145
 Warning extension MultipleStringLiteralsExtended The String "null" appears 6 times in the file. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 152
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 189

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketNamespaceUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "handshake-handler" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "ref" appears 3 times in the file. 53
 Warning extension ReturnCountExtended Return count for 'registerSockJsService' method is 2 (max allowed is 1). 65
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 78
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 112

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/AbstractWebSocketHandlerRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 52
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 117

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/DelegatingWebSocketConfiguration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 37

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/DelegatingWebSocketMessageBrokerConfiguration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/ServletWebSocketHandlerRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 59
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 280

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompEndpointRegistry.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 140

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 121

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketMessageBrokerConfigurationSupport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 122

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketTransportRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 40

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/handler/ConcurrentWebSocketSessionDecorator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113
 Warning extension ReturnCountExtended Return count for 'tryFlushMessageBuffer' method is 2 (max allowed is 1). 116
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 151

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/handler/ExceptionWebSocketHandlerDecorator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 50
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 63
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 74
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 84
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 94

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/handler/PerConnectionWebSocketHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 117

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SessionDisconnectEvent.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 66

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "." appears 6 times in the file. 217
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 222
 Warning extension MultipleStringLiteralsExtended The String " in session " appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String ". Sending STOMP ERROR to client." appears 2 times in the file. 225
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 273
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 302
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 314
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 361
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 375
 Warning extension MultipleStringLiteralsExtended The String "1.2" appears 2 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String "1.1" appears 2 times in the file. 437
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 453

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SubProtocolWebSocketHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 95
 Warning extension MultipleStringLiteralsExtended The String "." appears 4 times in the file. 144
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 160
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 250
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 278
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 348
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 352
 Warning extension LogicConditionNeedOptimization Condition with || at line 385 position 19 need optimization. All method calls are advised to move to end of logic expression. 385
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 390
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 407

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/jetty/JettyRequestUpgradeStrategy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 125

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/AbstractStandardUpgradeStrategy.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 114

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/AbstractTyrusRequestUpgradeStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 100
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 124
 Warning extension MultipleStringLiteralsExtended The String "register" appears 2 times in the file. 190
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 194
 Warning extension MultipleStringLiteralsExtended The String "No compatible Tyrus version found" appears 3 times in the file. 195
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 221
 Warning extension MultipleStringLiteralsExtended The String "Failed to register " appears 3 times in the file. 222
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 231
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 241
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 257
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 277

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/GlassFishRequestUpgradeStrategy.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/ServerEndpointExporter.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/ServerEndpointRegistration.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 65
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension MultipleStringLiteralsExtended The String "path must not be empty" appears 2 times in the file. 81
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 118

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/ServletServerContainerFactoryBean.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/SpringConfigurator.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 58
 Warning extension ReturnCountExtended Return count for 'getEndpointInstance' method is 4 (max allowed is 1). 63
 Warning extension MultipleStringLiteralsExtended The String "Using @ServerEndpoint singleton " appears 2 times in the file. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 124

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/UndertowRequestUpgradeStrategy.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 164
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 168
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/standard/WebLogicRequestUpgradeStrategy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "connection" appears 2 times in the file. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 132
 Warning extension MultipleStringLiteralsExtended The String "No compatible WebSocket version found" appears 2 times in the file. 133
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 150
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 159
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 183
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 192

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/support/DefaultHandshakeHandler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 83
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 87
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 133
 Warning extension ReturnCountExtended Return count for 'doHandshake' method is 7 (max allowed is 1). 166
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 314
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 329

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/support/HandshakeInterceptorChain.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 49
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 78

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/support/OriginHandshakeInterceptor.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setAllowedOrigins' is called in constructor body. 64

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 63
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 81
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 105
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 134

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/SockJsException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 42

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/SockJsMessageDeliveryException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to deliver message(s) " appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String " for session " appears 2 times in the file. 39

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/AbstractClientSockJsSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 134
 Warning extension MultipleStringLiteralsExtended The String " in " appears 10 times in the file. 146
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 168
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 185
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 226
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 270
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 303
 Warning extension MoveVariableInsideIf Variable 'type' can be moved inside the block at line '305' to restrict runtime creation. 304
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 312
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 323

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/AbstractXhrTransport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 68
 Warning extension MultipleStringLiteralsExtended The String "SockJS Info request (url=" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String ") failed: " appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String ") response: " appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "XHR send request (url=" appears 2 times in the file. 142
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 155

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/DefaultTransportRequest.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 224

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/JettyXhrTransport.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 86
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 98
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 128
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 133

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/RestTemplateXhrTransport.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 119
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 131
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 150
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 217

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/SockJsClient.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 69
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 89
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 231
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 254
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 318

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/SockJsUrlInfo.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ws" appears 2 times in the file. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 98
 Warning extension MultipleStringLiteralsExtended The String "https" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "wss" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "http" appears 2 times in the file. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/UndertowXhrTransport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 179
 Warning extension MultipleStringLiteralsExtended The String "Failed to execute request to " appears 3 times in the file. 188
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 298

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/WebSocketTransport.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 77

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/XhrClientSockJsSession.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 98

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/SockJsFrame.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "o" appears 2 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "h" appears 2 times in the file. 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 148

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 74
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 94
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 142
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 149
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 357
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 430
 Warning extension ReturnCountExtended Return count for 'checkAndAddCorsHeaders' method is 3 (max allowed is 1). 456
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Origin" appears 2 times in the file. 474
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 530
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 559

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/SockJsHttpRequestHandler.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 92

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 67
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 71
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 73
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 168
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 178
 Warning extension MultipleStringLiteralsExtended The String "Uncaught failure for request " appears 2 times in the file. 179
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 235
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 278
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 320
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 331

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "origin" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "cors" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "jsessionid" appears 8 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "no_cache" appears 8 times in the file. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractHttpReceivingTransportHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to read message" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Payload expected." appears 2 times in the file. 62
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 69

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractHttpSendingTransportHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to send " appears 2 times in the file. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 113

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/DefaultSockJsService.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/JsonpPollingTransportHandler.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 74

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/JsonpReceivingTransportHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 70

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/SockJsWebSocketHandler.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 71
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 80

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/WebSocketTransportHandler.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 82

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/AbstractHttpSockJsSession.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 142
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 218
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 269
 Warning extension LogicConditionNeedOptimization Condition with && at line 284 position 18 need optimization. All method calls are advised to move to end of logic expression. 284
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 327

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/AbstractSockJsSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 91
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 146
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 205
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 217
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 230
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 271
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 293
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 327
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 333
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 339
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 378
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 389
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 421
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 427

spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/WebSocketServerSockJsSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 53
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 169
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 177
 Warning extension LogicConditionNeedOptimization Condition with && at line 177 position 74 need optimization. All method calls are advised to move to end of logic expression. 177
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/AbstractWebSocketIntegrationTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 68
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 101
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 107
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 113
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 119

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/ContextLoaderTestUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 53

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/TomcatWebSocketTestServer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "dispatcherServlet" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 93

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/UndertowTestServer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 86

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/WebSocketExtensionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 40

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/WebSocketIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "/ws" appears 3 times in the file. 73

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketHandlerAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "reason" appears 2 times in the file. 66

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketSessionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 2 times in the file. 52

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/adapter/standard/ConvertingEncoderDecoderSupportTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/adapter/standard/StandardWebSocketHandlerAdapterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "123" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "reason" appears 2 times in the file. 71

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/adapter/standard/StandardWebSocketSessionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 2 times in the file. 53

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/client/WebSocketConnectionManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/client/jetty/JettyWebSocketClientTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "echo" appears 4 times in the file. 85

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/client/standard/StandardWebSocketClientTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ws://example.com/abc" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "wss://example.com/abc" appears 2 times in the file. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 108

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/HandlersBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 4 times in the file. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 3 times in the file. 113
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension MultipleStringLiteralsExtended The String "/test/**" appears 2 times in the file. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 227
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 228
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/MessageBrokerBeanDefinitionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "websocket-config-broker-simple.xml" appears 2 times in the file. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension MultipleStringLiteralsExtended The String "decorated" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "v12.stomp" appears 2 times in the file. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension MultipleStringLiteralsExtended The String "/personal/" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "/topic" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "/queue" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "clientInboundChannel" appears 7 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "clientOutboundChannel" appears 7 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "brokerChannel" appears 4 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "brokerChannelExecutor" appears 3 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "expected exception" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "pathMatcher" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "pathSeparator" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 210
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 364
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 365
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 369
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebMvcStompEndpointRegistryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "v10.stomp" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "/stompOverWebSocket" appears 2 times in the file. 84

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 13 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain.com" appears 3 times in the file. 112
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String "/foo/**" appears 2 times in the file. 212

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebSocketConfigurationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/ws" appears 2 times in the file. 70
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebSocketHandlerRegistrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/foo" appears 12 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "/bar" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain1.com" appears 3 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "/foo/**" appears 2 times in the file. 149

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebSocketMessageBrokerConfigurationSupportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/simpleBroker" appears 2 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "decorated" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 209

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/handler/BeanCreatingHandlerProviderTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 42
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/handler/ConcurrentWebSocketSessionDecoratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 3 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "slow message" appears 3 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension MultipleStringLiteralsExtended The String "Expected exception" appears 2 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/handler/ExceptionWebSocketHandlerDecoratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "error" appears 4 times in the file. 56

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/handler/TestWebSocketSession.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 55
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 140
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 144
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 184
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 188

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/handler/WebSocketHttpHeadersTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 47

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/messaging/StompSubProtocolHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "s1" appears 5 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "joe" appears 7 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "CONNECTED\n" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "user-name:joe\n" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "\u0000" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Me myself and I" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "1.1" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "mess0" appears 2 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "sub0" appears 2 times in the file. 269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension MultipleStringLiteralsExtended The String "guest" appears 2 times in the file. 331
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 358
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 379
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 392
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 400
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 445

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/messaging/StompTextMessageBuilder.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 35
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 3 times in the file. 59

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/messaging/StompWebSocketIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/ws" appears 7 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "id:subs1" appears 5 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "destination:/topic/foo" appears 2 times in the file. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension MultipleStringLiteralsExtended The String "MESSAGE\n" appears 3 times in the file. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 210

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/messaging/SubProtocolWebSocketHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "v12.stomp" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "v12.sToMp" appears 2 times in the file. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 94
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 135
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 141
 Warning extension MultipleStringLiteralsExtended The String "id1" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "id2" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "createTime" appears 2 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/server/DefaultHandshakeHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "13" appears 8 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "WebSocket" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Upgrade" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "82/ZS2YHjEnUN97HLL8tbw==" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "STOMP" appears 2 times in the file. 73
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 113
 Warning extension MultipleStringLiteralsExtended The String "v11.stomp" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "v12.stomp" appears 2 times in the file. 124
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 135

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/server/standard/ServerEndpointExporterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "javax.websocket.server.ServerContainer" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/dummy" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "dummyEndpoint" appears 3 times in the file. 105

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/server/standard/ServerEndpointRegistrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/path" appears 2 times in the file. 47

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/server/support/HttpSessionHandshakeInterceptorTests.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 43
 Warning extension MultipleStringLiteralsExtended The String "123" appears 7 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 3 times in the file. 48
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 61
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 112

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/server/support/OriginHandshakeInterceptorTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 45
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 57
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain1.com" appears 7 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 72
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain2.com" appears 5 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 82
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain3.com" appears 3 times in the file. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 92
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain4.com" appears 2 times in the file. 94
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 102
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 106
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 115
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 126
 Warning extension MultipleStringLiteralsExtended The String "mydomain2.com" appears 2 times in the file. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 137
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/AbstractSockJsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 110
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 116
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 122
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 128
 Warning extension MultipleStringLiteralsExtended The String "/echo" appears 5 times in the file. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension MultipleStringLiteralsExtended The String "/xhr_streaming" appears 3 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "Fallback didn't occur" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "message1" appears 3 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "/test" appears 2 times in the file. 253

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/ClientSockJsSessionTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension MultipleStringLiteralsExtended The String "Fake error" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "reason" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "Invalid close status" appears 2 times in the file. 191
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 276

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/DefaultTransportRequestTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension MultipleStringLiteralsExtended The String "Fake exception 2" appears 2 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/RestTemplateXhrTransportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "o\n" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "a[\"foo\"]\n" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "c[3000,\"Go away!\"]" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Go away!" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 112
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 219

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/SockJsClientTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/SockJsUrlInfoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "http" appears 10 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "https" appears 10 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "ws" appears 6 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "wss" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "://example.com" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 84

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/TestTransport.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 97

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/UndertowSockJsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 55

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/XhrTransportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "body" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "http://example.com/info" appears 2 times in the file. 49
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 52
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "http://example.com" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 2 times in the file. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/frame/SockJsFrameTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a[]" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "[]" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "c[]" appears 3 times in the file. 87

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/support/SockJsServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 24 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/echo/server/session/websocket" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/echo/info" appears 19 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "application/json;charset=UTF-8" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "no-store, no-cache, must-revalidate, max-age=0" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Cache-Control" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Origin" appears 18 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Credentials" appears 15 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Vary" appears 15 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "{\"entropy\"" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String ",\"origins\":[\"*:*\"],\"cookie_needed\":true,\"websocket\":true}" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain1.com" appears 8 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "mydomain2.com" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain2.com" appears 12 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "true" appears 6 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "Origin" appears 10 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain3.com" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "foobar:123" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Request-Headers" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "Last-Modified" appears 6 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "OPTIONS" appears 9 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Headers" appears 9 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Methods" appears 9 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Max-Age" appears 9 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "OPTIONS, GET" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "31536000" appears 3 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "/echo/iframe.html" appears 2 times in the file. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension MultipleStringLiteralsExtended The String "\"06b486b3208b085d9e3220f456a6caca4\"" appears 2 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "/echo" appears 2 times in the file. 295

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/DefaultSockJsServiceTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 125
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 136
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "xhr" appears 6 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 9 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Origin" appears 4 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Credentials" appears 4 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain1.com" appears 8 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "http://mydomain2.com" appears 3 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "xhr_send" appears 3 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 9 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "X-Frame-Options" appears 3 times in the file. 314

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/HttpReceivingTransportHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[\"x\"]" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 7 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "ok" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "d=[\"x\"]" appears 2 times in the file. 68
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 97
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 114

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/HttpSendingTransportHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "application/javascript;charset=UTF-8" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Polling request should complete after open frame" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "\"callback\" parameter required" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "c=callback" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "c" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "callback" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Streaming request not started" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 176

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/SockJsWebSocketHandlerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 48

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/session/HttpSockJsSessionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "hhh\n" appears 2 times in the file. 99

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/session/SockJsSessionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 48
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension MultipleStringLiteralsExtended The String "message 1" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "message 2" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "expected exception" appears 2 times in the file. 117
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension MultipleStringLiteralsExtended The String "Go away!" appears 3 times in the file. 186

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/session/TestHttpSockJsSession.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 84

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/session/TestSockJsSession.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 127
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 171

spring-framework/spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/session/WebSocketServerSockJsSessionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 72
 Warning extension MultipleStringLiteralsExtended The String "o" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "schedule" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "cancel" appears 2 times in the file. 133

spring-framework/src/test/java/com/foo/Component.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 24

spring-framework/src/test/java/com/foo/ComponentBeanDefinitionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 56
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 62

spring-framework/src/test/java/org/springframework/aop/config/AopNamespaceHandlerScopeIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should be AOP proxy" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Should be target class proxy" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "Rob Harrop" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Bram Smeets" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "testBean" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "Regular bean should be JDK proxy" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Should have advisors" appears 2 times in the file. 104

spring-framework/src/test/java/org/springframework/aop/framework/autoproxy/AdvisorAutoProxyCreatorIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension MultipleStringLiteralsExtended The String "orderedBeforeTransaction" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Transaction counts match" appears 5 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "rollback" appears 3 times in the file. 128
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 142
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 145
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174

spring-framework/src/test/java/org/springframework/cache/annotation/EnableCachingIntegrationTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 62
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 65
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 69

spring-framework/src/test/java/org/springframework/context/annotation/jsr330/ClassPathBeanDefinitionScannerJsr330ScopeIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "prototype" appears 3 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "singleton" appears 8 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension MultipleStringLiteralsExtended The String "request" appears 4 times in the file. 163
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 188
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 208
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 209
 Warning extension MultipleStringLiteralsExtended The String "session" appears 7 times in the file. 226
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 229
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 277
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 278
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 279
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 309

spring-framework/src/test/java/org/springframework/context/annotation/scope/ClassPathBeanDefinitionScannerScopeIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "singleton" appears 6 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension MultipleStringLiteralsExtended The String "request" appears 4 times in the file. 146
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension MultipleStringLiteralsExtended The String "session" appears 6 times in the file. 209
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 260
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 262

spring-framework/src/test/java/org/springframework/core/env/EnvironmentIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "should have prod bean" appears 2 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "should not have dev bean" appears 3 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "should not have transitive bean" appears 3 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "should have dev bean" appears 2 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "should have transitive bean" appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "classpath:" appears 2 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "pCommon" appears 14 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "pCommonContextValue" appears 5 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "pContext1" appears 6 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "pContext1Value" appears 6 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "pCommonConfigValue" appears 6 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "pConfig1" appears 4 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "pConfig1Value" appears 4 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "pCommonSysPropsValue" appears 3 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "pSysProps1" appears 6 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "pSysProps1Value" appears 6 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 562

spring-framework/src/test/java/org/springframework/core/env/PropertyPlaceholderConfigurerEnvironmentIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ppc" appears 2 times in the file. 30

spring-framework/src/test/java/org/springframework/expression/spel/support/Spr7538Tests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 31
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 39
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 44
 Warning extension MultipleStringLiteralsExtended The String "checkCompleteness" appears 2 times in the file. 45
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 49

spring-framework/src/test/java/org/springframework/scheduling/annotation/ScheduledAndTransactionalAnnotationIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "repository is not a proxy" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "@Scheduled method never called" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "no transactions were committed" appears 2 times in the file. 83

spring-framework/src/test/java/org/springframework/transaction/annotation/EnableTransactionManagementIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "FooRepository is not a TX proxy" appears 2 times in the file. 72
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 94
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 117
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 188

spring-framework/src/test/java/org/springframework/transaction/annotation/ProxyAnnotationDiscoveryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "expected a subclass proxy" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "expected a jdk proxy" appears 2 times in the file. 78